mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
A variety of suggested style tweaks
This commit is contained in:
@@ -215,12 +215,12 @@ boost::optional<int> ZoneOptions::getOwner() const
|
||||
return owner;
|
||||
}
|
||||
|
||||
const std::set<TTerrain> & ZoneOptions::getTerrainTypes() const
|
||||
const std::set<TTerrainId> & ZoneOptions::getTerrainTypes() const
|
||||
{
|
||||
return terrainTypes;
|
||||
}
|
||||
|
||||
void ZoneOptions::setTerrainTypes(const std::set<TTerrain> & value)
|
||||
void ZoneOptions::setTerrainTypes(const std::set<TTerrainId> & value)
|
||||
{
|
||||
//assert(value.find(ETerrainType::WRONG) == value.end() && value.find(ETerrainType::BORDER) == value.end() &&
|
||||
// value.find(ETerrainType::WATER) == value.end() && value.find(ETerrainType::ROCK) == value.end());
|
||||
|
||||
Reference in New Issue
Block a user