Pārlūkot izejas kodu

showInfoDialog: fix waitWhileDialog regression

Konstantin 2 gadi atpakaļ
vecāks
revīzija
4df4a872c0
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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)