mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-15 01:24:45 +02:00
Fix compilation error
This commit is contained in:
@ -89,6 +89,7 @@ int CConnection::write(const void * data, unsigned size)
|
||||
boost::unique_lock<boost::mutex> lock(mutexWrite);
|
||||
ENetPacket * packet = enet_packet_create(data, size, ENET_PACKET_FLAG_RELIABLE);
|
||||
enet_peer_send(peer, channel, packet);
|
||||
return size;
|
||||
}
|
||||
|
||||
int CConnection::read(void * data, unsigned size)
|
||||
|
Reference in New Issue
Block a user