From 9a072cdb62b27fdacbb70fedc60b62bfd893b4dc Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 23 Mar 2019 16:40:02 +0100 Subject: [PATCH] isThorny using flags --- flags.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/flags.cpp b/flags.cpp index 92fa6a0a..0246f358 100644 --- a/flags.cpp +++ b/flags.cpp @@ -57,6 +57,7 @@ WALLFLAGCHECK(isStandardTree, flag & WF_STDTREE) WALLFLAGCHECK(isGrave, flag & WF_GRAVE) WALLFLAGCHECK(isReptile, flag & WF_REPTILE) WALLFLAGCHECK(useHeatColoring, flag & WF_HEATCOLOR) +WALLFLAGCHECK(isThorny, flag & WF_THORNY) LANDFLAGCHECK(generateAll, flag & LF_GENERATE_ALL) LANDFLAGCHECK(isIcyLand, flag & LF_ICY) @@ -312,8 +313,6 @@ bool survivesFall(eMonster m) { return isBird(m) || m == moAirElemental || m == moSkeleton || isDragon(m) || m == moShadow || isGhost(m); } -bool isThorny(eWall w) { return w == waRose; } - bool checkOrb(eMonster m1, eItem orb) { if(m1 == moPlayer) return markOrb(orb); if(isFriendly(m1)) return markEmpathy(orb);