1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-23 01:47:39 +00:00

isEquidLand flag

This commit is contained in:
Zeno Rogue
2018-05-01 19:34:37 +02:00
parent 5a9bc6c014
commit 8f6ad87280
2 changed files with 11 additions and 4 deletions

View File

@@ -17,6 +17,12 @@ bool isGravityLand(eLand l) {
l == laMountain || l == laDungeon;
}
bool isEquidLand(eLand l) {
return
l == laIvoryTower || l == laEndorian || l == laDungeon ||
isHaunted(l) || l == laOcean;
}
// watery
bool isWatery(cell *c) {