mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-29 21:56:54 +02:00
Do not switch InfoBar to hero during another player turn
This commit is contained in:
parent
3d71f8b46d
commit
df4fe33c3a
@ -1963,7 +1963,8 @@ void CPlayerInterface::playerStartsTurn(PlayerColor player)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
adventureInt->infoBar->showSelection();
|
if (player == playerID)
|
||||||
|
adventureInt->infoBar->showSelection();
|
||||||
while (GH.listInt.front() != adventureInt && !dynamic_cast<CInfoWindow*>(GH.listInt.front().get())) //don't remove dialogs that expect query answer
|
while (GH.listInt.front() != adventureInt && !dynamic_cast<CInfoWindow*>(GH.listInt.front().get())) //don't remove dialogs that expect query answer
|
||||||
GH.popInts(1);
|
GH.popInts(1);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user