Selaa lähdekoodia

Lock UI during movement animation

Ivan Savenko 2 vuotta sitten
vanhempi
sitoutus
30911eb593
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      client/CPlayerInterface.cpp

+ 1 - 0
client/CPlayerInterface.cpp

@@ -2198,6 +2198,7 @@ void CPlayerInterface::doMoveHero(const CGHeroInstance * h, CGPath path)
 		adventureInt->updateNextHero(h);
 	}
 
+	CGI->mh->waitForOngoingAnimations();
 	setMovementStatus(false);
 }