1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Remove few more implicit conversions

This commit is contained in:
Ivan Savenko
2023-11-05 19:13:18 +02:00
parent abad4b01ce
commit 34338f4eaa
14 changed files with 48 additions and 36 deletions

View File

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