mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Complain more informatively about incorrect ENet versions
This was SVN commit r7897.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user