diff --git a/game.cpp b/game.cpp index 467d09dc..6a436bde 100644 --- a/game.cpp +++ b/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;