浏览代码

showInfoDialog: fix waitWhileDialog regression

Konstantin 2 年之前
父节点
当前提交
4df4a872c0
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      client/CPlayerInterface.cpp

+ 1 - 0
client/CPlayerInterface.cpp

@@ -1041,6 +1041,7 @@ void CPlayerInterface::showInfoDialog(EInfoWindowMode type, const std::string &t
 
 	if(autoTryHover || type == EInfoWindowMode::INFO)
 	{
+		waitWhileDialog(); //Fix for mantis #98
 		adventureInt->infoBar->pushComponents(components, text, timer);
 
 		if (makingTurn && GH.listInt.size() && LOCPLINT == this)