mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-11-04 07:43:02 +00:00 
			
		
		
		
	Orb of Freedom now considers active arrow traps as impassable
This commit is contained in:
		
							
								
								
									
										1
									
								
								orbs.cpp
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								orbs.cpp
									
									
									
									
									
								
							@@ -260,6 +260,7 @@ void checkFreedom(cell *cf) {
 | 
			
		||||
      // todo leader
 | 
			
		||||
      if(!passable(c2, c, P_ISPLAYER | P_MIRROR | P_LEADER)) continue;
 | 
			
		||||
      if(eq(c2->aitmp, sval)) continue;
 | 
			
		||||
      if(c2->wall == waArrowTrap && c2->wparam == 2) continue;
 | 
			
		||||
      bool monsterhere = false;
 | 
			
		||||
      for(int j=0; j<c2->type; j++) {
 | 
			
		||||
        cell *c3 = c2->mov[j];
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user