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

Implement player start turn query

This commit is contained in:
nordsoft
2023-08-28 04:42:05 +04:00
parent 8e9dd697ff
commit 98f7ed9dfd
15 changed files with 73 additions and 17 deletions

View File

@@ -471,6 +471,7 @@ void ClientCommandManager::giveTurn(const PlayerColor &colorIdentifier)
{
YourTurn yt;
yt.player = colorIdentifier;
yt.queryID = -1;
ApplyClientNetPackVisitor visitor(*CSH->client, *CSH->client->gameState());
yt.visit(visitor);