From c5284c153d381e9dbc919eecb1b727b74d1fbf1b Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 24 Mar 2019 01:26:53 +0100 Subject: [PATCH] fixed isWateryOrBoat --- flags.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flags.cpp b/flags.cpp index b0030706..f66c2f37 100644 --- a/flags.cpp +++ b/flags.cpp @@ -39,7 +39,7 @@ const flagtype& classflag(eLand l) { return linf[l].flags; } WALLFLAGCHECK(isWatery, flag & WF_WATER) WALLFLAGCHECK(isBoat, flag & WF_BOAT) WALLFLAGCHECK(isChasmy, flag & WF_CHASM) -WALLFLAGCHECK(isWateryOrBoat, flag & (WF_WATER | WF_BOAT)) +WALLFLAGCHECK(isWateryOrBoat, (flag & WF_WATER) || w == waBoat) WALLFLAGCHECK(isNoFlight, flag & WF_NOFLIGHT) WALLFLAGCHECK(isFire, flag & WF_FIRE) WALLFLAGCHECK(isThumper, flag & WF_THUMPER)