mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-17 01:32:21 +02:00
TerrainTile now uses identifiers instead of pointers to VLC
This commit is contained in:
@ -72,7 +72,7 @@ void RockFiller::init()
|
||||
|
||||
char RockFiller::dump(const int3 & t)
|
||||
{
|
||||
if(!map.getTile(t).terType->isPassable())
|
||||
if(!map.getTile(t).getTerrain()->isPassable())
|
||||
{
|
||||
return zone.area()->contains(t) ? 'R' : 'E';
|
||||
}
|
||||
|
Reference in New Issue
Block a user