mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	Orb of Freedom takes Rose scent into account
This commit is contained in:
		
							
								
								
									
										1
									
								
								orbs.cpp
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								orbs.cpp
									
									
									
									
									
								
							| @@ -262,6 +262,7 @@ void checkFreedom(cell *cf) { | |||||||
|       // todo leader |       // todo leader | ||||||
|       if(cl.listed(c2)) continue; |       if(cl.listed(c2)) continue; | ||||||
|       if(!passable(c2, c, P_ISPLAYER | P_MIRROR | P_LEADER)) continue; |       if(!passable(c2, c, P_ISPLAYER | P_MIRROR | P_LEADER)) continue; | ||||||
|  |       if(againstRose(c, c2) && !scentResistant()) continue; | ||||||
|       if(c2->wall == waArrowTrap && c2->wparam == 2) continue; |       if(c2->wall == waArrowTrap && c2->wparam == 2) continue; | ||||||
|       bool monsterhere = false; |       bool monsterhere = false; | ||||||
|       for(int j=0; j<c2->type; j++) { |       for(int j=0; j<c2->type; j++) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue