mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-30 04:30:42 +02:00
Fix compilation error
This commit is contained in:
parent
30f98ca6ee
commit
b1252becc2
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user