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