mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Remove pointer to objects from TerrainTile
This commit is contained in:
@@ -866,7 +866,7 @@ TerrainId CStackInstance::getNativeTerrain() const
|
||||
|
||||
TerrainId CStackInstance::getCurrentTerrain() const
|
||||
{
|
||||
return armyObj->getCurrentTerrain();
|
||||
return getArmy()->getCurrentTerrain();
|
||||
}
|
||||
|
||||
void CStackInstance::deserializationFix()
|
||||
|
||||
Reference in New Issue
Block a user