From 30911eb593356d0e23e27e53e17f7d8f34b51fb3 Mon Sep 17 00:00:00 2001 From: Ivan Savenko Date: Thu, 2 Mar 2023 19:19:58 +0200 Subject: [PATCH] Lock UI during movement animation --- client/CPlayerInterface.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/client/CPlayerInterface.cpp b/client/CPlayerInterface.cpp index d581522ee..5fe8d706b 100644 --- a/client/CPlayerInterface.cpp +++ b/client/CPlayerInterface.cpp @@ -2198,6 +2198,7 @@ void CPlayerInterface::doMoveHero(const CGHeroInstance * h, CGPath path) adventureInt->updateNextHero(h); } + CGI->mh->waitForOngoingAnimations(); setMovementStatus(false); }