1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Initial version of antilag support

This commit is contained in:
Ivan Savenko
2025-06-28 21:42:54 +03:00
parent 58de180083
commit 3576efc3f3
24 changed files with 490 additions and 23 deletions

View File

@@ -366,7 +366,7 @@ int CClient::sendRequest(const CPackForServer & request, PlayerColor player, boo
waitingRequest.pushBack(requestID);
request.requestID = requestID;
request.player = player;
GAME->server().logicConnection->sendPack(request);
GAME->server().sendGamePack(request);
if(vstd::contains(playerint, player))
playerint[player]->requestSent(&request, requestID);