1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

vcmi: remove TFaction

This is a huge change and will break save compatibility
This commit is contained in:
Konstantin
2023-04-09 18:26:32 +03:00
parent 452cebfdfd
commit fedf7d377c
44 changed files with 135 additions and 134 deletions

View File

@@ -123,9 +123,9 @@ rmg::Area & Zone::freePaths()
return dAreaFree;
}
si32 Zone::getTownType() const
FactionID Zone::getTownType() const
{
return townType;
return FactionID(townType);
}
void Zone::setTownType(si32 town)