|
@@ -1225,13 +1225,14 @@ void CPlayerInterface::loadGame( BinaryDeserializer & h )
|
|
|
|
|
|
void CPlayerInterface::moveHero( const CGHeroInstance *h, const CGPath& path )
|
|
|
{
|
|
|
+ LOG_TRACE(logGlobal);
|
|
|
+ if (!LOCPLINT->makingTurn)
|
|
|
+ return;
|
|
|
+
|
|
|
assert(h);
|
|
|
assert(!showingDialog->isBusy());
|
|
|
assert(dialogs.empty());
|
|
|
|
|
|
- LOG_TRACE(logGlobal);
|
|
|
- if (!LOCPLINT->makingTurn)
|
|
|
- return;
|
|
|
if (!h)
|
|
|
return; //can't find hero
|
|
|
|