mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
CInfoBar: only pop up when adventure map interface is on top
This commit is contained in:
parent
5893e1e08e
commit
d4091db172
@ -887,7 +887,8 @@ void CInfoBar::showSelection()
|
||||
void CInfoBar::tick()
|
||||
{
|
||||
removeUsedEvents(TIME);
|
||||
showSelection();
|
||||
if(GH.topInt() == adventureInt)
|
||||
showSelection();
|
||||
}
|
||||
|
||||
void CInfoBar::clickLeft(tribool down, bool previousState)
|
||||
|
Loading…
Reference in New Issue
Block a user