1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-17 01:32:21 +02:00

Added sounds to several objects, minor improvements.

This commit is contained in:
Michał W. Urbańczyk
2009-04-23 21:09:10 +00:00
parent 992ce92ae5
commit 275ec5f640
7 changed files with 91 additions and 1068 deletions

View File

@ -2610,7 +2610,7 @@ bool CPlayerInterface::moveHero( const CGHeroInstance *h, CPath path )
} else
#endif
{
newTerrain = CGI->mh->map->terrain[path.nodes[i].coord.x][path.nodes[i].coord.y][path.nodes[i].coord.z].tertype;
newTerrain = cb->getTileInfo(path.nodes[i].coord)->tertype;
if (newTerrain != currentTerrain) {
CGI->mush->stopSound(sh);