1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

vcmi: add getNativeTerrain method to factions

This commit is contained in:
Konstantin
2023-04-02 03:07:39 +03:00
parent e0715a76c8
commit b7d6270272
4 changed files with 10 additions and 2 deletions

View File

@@ -161,6 +161,11 @@ bool CFaction::hasTown() const
return town != nullptr;
}
TerrainId CFaction::getNativeTerrain() const
{
return nativeTerrain;
}
void CFaction::updateFrom(const JsonNode & data)
{