mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-03 23:19:22 +02:00
Map/Road/River identifiers are now private members
This commit is contained in:
@@ -735,7 +735,7 @@ DLL_LINKAGE void NewObject::applyGs(CGameState *gs)
|
||||
else
|
||||
{
|
||||
const TerrainTile & t = gs->map->getTile(pos);
|
||||
terrainType = t.terType->id;
|
||||
terrainType = t.terType->getId();
|
||||
}
|
||||
|
||||
CGObjectInstance *o = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user