mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 18:00:34 +00:00
fixed being able to phase into a chasm (and possibly some other issues)
This commit is contained in:
parent
267c2475d8
commit
f45b90bad4
2
game.cpp
2
game.cpp
@ -582,7 +582,7 @@ EX int incline(cell *cfrom, cell *cto) {
|
||||
|
||||
#define F(x) checkflags(flags,x)
|
||||
|
||||
EX bool checkflags(flagtype flags, int x) {
|
||||
EX bool checkflags(flagtype flags, flagtype x) {
|
||||
if(flags & x) return true;
|
||||
if(flags & P_ISPLAYER) {
|
||||
if((x & P_WINTER) && markOrb(itOrbWinter)) return true;
|
||||
|
Loading…
Reference in New Issue
Block a user