Browse Source

Smarter fix for #577 ;)

Michał W. Urbańczyk 15 năm trước cách đây
mục cha
commit
58c2e176c4
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      client/CPlayerInterface.cpp

+ 1 - 0
client/CPlayerInterface.cpp

@@ -1270,6 +1270,7 @@ void CPlayerInterface::newObject( const CGObjectInstance * obj )
 
 void CPlayerInterface::centerView (int3 pos, int focusTime)
 {
+	waitWhileDialog();
 	adventureInt->centerOn (pos);
 	if(focusTime)
 	{