Forráskód Böngészése

Lock UI during movement animation

Ivan Savenko 2 éve
szülő
commit
30911eb593
1 módosított fájl, 1 hozzáadás és 0 törlés
  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);
 }