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:
parent
5893e1e08e
commit
d4091db172
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user