1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

A variety of suggested style tweaks

This commit is contained in:
Tomasz Zieliński
2022-09-25 09:33:56 +02:00
parent fd63cb6109
commit 4ea57ea7fc
66 changed files with 155 additions and 156 deletions

View File

@@ -31,7 +31,7 @@ class DLL_LINKAGE ObjectTemplate
/// directions from which object can be entered, format same as for moveDir in CGHeroInstance(but 0 - 7)
ui8 visitDir;
/// list of terrains on which this object can be placed
std::set<TTerrain> allowedTerrains;
std::set<TTerrainId> allowedTerrains;
void afterLoadFixup();
@@ -98,7 +98,7 @@ public:
};
// Checks if object can be placed on specific terrain
bool canBePlacedAt(TTerrain terrain) const;
bool canBePlacedAt(TTerrainId terrain) const;
ObjectTemplate();
//custom copy constructor is required