Sfoglia il codice sorgente

Lock UI during movement animation

Ivan Savenko 2 anni fa
parent
commit
30911eb593
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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);
 		adventureInt->updateNextHero(h);
 	}
 	}
 
 
+	CGI->mh->waitForOngoingAnimations();
 	setMovementStatus(false);
 	setMovementStatus(false);
 }
 }