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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user