mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
* Server will strictly require answering the queries before taking any actions. Let me know, if this causes any freezes.
* Fixed crash on new week after we lost battle with neutral monster but killed the top stack (merging failed then). * minor changes
This commit is contained in:
@@ -225,8 +225,9 @@ bool BuildBoat::applyGh( CGameHandler *gh )
|
||||
|
||||
bool QueryReply::applyGh( CGameHandler *gh )
|
||||
{
|
||||
//TODO - check if player matches the query
|
||||
return gh->queryReply(qid,answer);
|
||||
ERROR_IF_NOT(player);
|
||||
assert(vstd::contains(gh->states.players, player));
|
||||
return gh->queryReply(qid, answer, player);
|
||||
}
|
||||
|
||||
bool MakeAction::applyGh( CGameHandler *gh )
|
||||
|
||||
Reference in New Issue
Block a user