1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00

CInfoBar: only pop up when adventure map interface is on top

This commit is contained in:
Arseniy Shestakov 2017-03-14 00:00:47 +03:00
parent 5893e1e08e
commit d4091db172

View File

@ -887,7 +887,8 @@ void CInfoBar::showSelection()
void CInfoBar::tick() void CInfoBar::tick()
{ {
removeUsedEvents(TIME); removeUsedEvents(TIME);
showSelection(); if(GH.topInt() == adventureInt)
showSelection();
} }
void CInfoBar::clickLeft(tribool down, bool previousState) void CInfoBar::clickLeft(tribool down, bool previousState)