1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

Likely fixing #754.

This commit is contained in:
Michał W. Urbańczyk
2011-06-22 22:35:26 +00:00
parent c71127809e
commit d9a9477cb4

View File

@@ -1117,12 +1117,12 @@ bool CPlayerInterface::moveHero( const CGHeroInstance *h, CGPath path )
} }
CCS->soundh->stopSound(sh); CCS->soundh->stopSound(sh);
cb->recalculatePaths();
} }
cb->getGsMutex().lock_shared(); cb->getGsMutex().lock_shared();
pim->lock(); pim->lock();
eventsM.lock(); eventsM.lock();
cb->recalculatePaths();
return result; return result;
} }