mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-21 00:19:29 +02:00
Added explicit "PlayerEndsTurn" netpack
- PlayerEndsTurn pack is now sent when player ends turn - YourTurn pack has been renamed to PlayerStartsTurn for consistency - PlayerStartsTurn will no longer replace list of acting players - PlayerEndsGame and PlayerEndsTurn will remove player from acting list
This commit is contained in:
@ -470,7 +470,7 @@ void ClientCommandManager::printCommandMessage(const std::string &commandMessage
|
||||
|
||||
void ClientCommandManager::giveTurn(const PlayerColor &colorIdentifier)
|
||||
{
|
||||
YourTurn yt;
|
||||
PlayerStartsTurn yt;
|
||||
yt.player = colorIdentifier;
|
||||
yt.queryID = -1;
|
||||
|
||||
|
Reference in New Issue
Block a user