Explorar el Código

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

Arseniy Shestakov hace 8 años
padre
commit
d4091db172
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      client/widgets/AdventureMapClasses.cpp

+ 2 - 1
client/widgets/AdventureMapClasses.cpp

@@ -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)