mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-07-24 03:32:50 +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)
|
#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 & x) return true;
|
||||||
if(flags & P_ISPLAYER) {
|
if(flags & P_ISPLAYER) {
|
||||||
if((x & P_WINTER) && markOrb(itOrbWinter)) return true;
|
if((x & P_WINTER) && markOrb(itOrbWinter)) return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user