Ver código fonte

Lock UI during movement animation

Ivan Savenko 2 anos atrás
pai
commit
30911eb593
1 arquivos alterados com 1 adições e 0 exclusões
  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);
 }