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