Complain more informatively about incorrect ENet versions

This was SVN commit r7897.
This commit is contained in:
Ykkrosh
2010-08-10 21:49:33 +00:00
parent 08cdb0b9c2
commit 4f1b7bb0e6
6 changed files with 43 additions and 10 deletions
+2 -3
View File
@@ -19,11 +19,10 @@
#include "NetHost.h"
#include "lib/external_libraries/enet.h"
#include "network/NetMessage.h"
#include "ps/CLogger.h"
#include <enet/enet.h>
bool CNetHost::SendMessage(const CNetMessage* message, ENetPeer* peer, const char* peerName)
{
ENetPacket* packet = CreatePacket(message);
@@ -77,4 +76,4 @@ void CNetHost::Initialize()
void CNetHost::Deinitialize()
{
enet_deinitialize();
}
}