mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	fixed being able to phase into a chasm (and possibly some other issues)
This commit is contained in:
		
							
								
								
									
										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; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue