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