1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

Fix build

This commit is contained in:
Ivan Savenko
2023-08-20 20:09:32 +03:00
parent e2718db791
commit b61c9a9e35
6 changed files with 32 additions and 42 deletions

View File

@ -183,7 +183,7 @@ void CPlayerInterface::playerStartsTurn(PlayerColor player)
// close window from another player
if(auto w = GH.windows().topWindow<CInfoWindow>())
if(w->ID == -1 && player != playerID)
if(w->ID == QueryID::NONE && player != playerID)
w->close();
// remove all dialogs that do not expect query answer