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:
@@ -161,6 +161,11 @@ bool CFaction::hasTown() const
|
||||
return town != nullptr;
|
||||
}
|
||||
|
||||
TerrainId CFaction::getNativeTerrain() const
|
||||
{
|
||||
return nativeTerrain;
|
||||
}
|
||||
|
||||
void CFaction::updateFrom(const JsonNode & data)
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user