浏览代码

Likely fixing #754.

Michał W. Urbańczyk 14 年之前
父节点
当前提交
d9a9477cb4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      client/CPlayerInterface.cpp

+ 1 - 1
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;
 }