mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Initial version of antilag support
This commit is contained in:
@@ -1158,7 +1158,7 @@ bool CVCMIServer::hasBothPlayersAtSameConnection(PlayerColor left, PlayerColor r
|
||||
return false;
|
||||
}
|
||||
|
||||
void CVCMIServer::broadcastPack(const CPackForClient & pack)
|
||||
void CVCMIServer::broadcastPack(CPackForClient & pack)
|
||||
{
|
||||
for (const auto & c : activeConnections)
|
||||
c->sendPack(pack);
|
||||
|
||||
Reference in New Issue
Block a user