mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-24 16:07:07 +00:00
fixed isWateryOrBoat
This commit is contained in:
parent
ce8df3a0c6
commit
c5284c153d
@ -39,7 +39,7 @@ const flagtype& classflag(eLand l) { return linf[l].flags; }
|
|||||||
WALLFLAGCHECK(isWatery, flag & WF_WATER)
|
WALLFLAGCHECK(isWatery, flag & WF_WATER)
|
||||||
WALLFLAGCHECK(isBoat, flag & WF_BOAT)
|
WALLFLAGCHECK(isBoat, flag & WF_BOAT)
|
||||||
WALLFLAGCHECK(isChasmy, flag & WF_CHASM)
|
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(isNoFlight, flag & WF_NOFLIGHT)
|
||||||
WALLFLAGCHECK(isFire, flag & WF_FIRE)
|
WALLFLAGCHECK(isFire, flag & WF_FIRE)
|
||||||
WALLFLAGCHECK(isThumper, flag & WF_THUMPER)
|
WALLFLAGCHECK(isThumper, flag & WF_THUMPER)
|
||||||
|
Loading…
Reference in New Issue
Block a user