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

- Duplicate Monolith templates to ensure at least 100 are available to RMG

- Do not use Monoliths which can't be placed at any land
This commit is contained in:
Tomasz Zieliński
2023-03-16 06:58:25 +01:00
parent 6c693f2920
commit 5b267f9cbd
4 changed files with 59 additions and 7 deletions

View File

@@ -102,6 +102,11 @@ public:
return visitDir & 2;
};
inline bool canBePlacedAtAnyTerrain() const
{
return anyTerrain;
};
// Checks if object can be placed on specific terrain
bool canBePlacedAt(TerrainId terrain) const;