mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Fix build
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user