Parcourir la source

Lock UI during movement animation

Ivan Savenko il y a 2 ans
Parent
commit
30911eb593
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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);
 }