From d9a9477cb4b870195f8cbe776fdbc5657711028b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20W=2E=20Urba=C5=84czyk?= Date: Wed, 22 Jun 2011 22:35:26 +0000 Subject: [PATCH] Likely fixing #754. --- client/CPlayerInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/CPlayerInterface.cpp b/client/CPlayerInterface.cpp index 8a65f48bd..0b756e563 100644 --- a/client/CPlayerInterface.cpp +++ b/client/CPlayerInterface.cpp @@ -1117,12 +1117,12 @@ bool CPlayerInterface::moveHero( const CGHeroInstance *h, CGPath path ) } CCS->soundh->stopSound(sh); - cb->recalculatePaths(); } cb->getGsMutex().lock_shared(); pim->lock(); eventsM.lock(); + cb->recalculatePaths(); return result; }