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

Fix regressions

This commit is contained in:
Ivan Savenko
2023-11-08 19:49:42 +02:00
parent 52050d0ef1
commit 59b2cbe4d2
3 changed files with 4 additions and 4 deletions

View File

@@ -1208,7 +1208,7 @@ void CGTownInstance::serializeJsonOptions(JsonSerializeFormat & handler)
FactionID CGTownInstance::getFaction() const
{
return town->faction->getId();
return FactionID(subID.getNum());
}
TerrainId CGTownInstance::getNativeTerrain() const