瀏覽代碼

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

Arseniy Shestakov 8 年之前
父節點
當前提交
d4091db172
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      client/widgets/AdventureMapClasses.cpp

+ 2 - 1
client/widgets/AdventureMapClasses.cpp

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