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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user