1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Common changes.

for changes see http://vcmi.antypika.aplus.pl/forum/viewtopic.php?p=2576#2576
This commit is contained in:
mateuszb
2009-05-22 19:20:30 +00:00
parent 8e2a6466e2
commit 564c8ae839
7 changed files with 27 additions and 24 deletions

View File

@@ -1595,7 +1595,7 @@ bool CPlayerInterface::moveHero( const CGHeroInstance *h, CPath path )
} else
#endif
{
newTerrain = cb->getTileInfo(path.nodes[i].coord)->tertype;
newTerrain = cb->getTileInfo(CGHeroInstance::convertPosition(path.nodes[i].coord, false))->tertype;
if (newTerrain != currentTerrain) {
CGI->soundh->stopSound(sh);