mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	Orb of Water + Orb of Empathy no longer works on enemies too
This commit is contained in:
		
							
								
								
									
										2
									
								
								game.cpp
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								game.cpp
									
									
									
									
									
								
							| @@ -746,7 +746,7 @@ void moveBoat(cell *to, cell *from, int direction_hint) { | ||||
|  | ||||
| void moveBoatIfUsingOne(cell *to, cell *from, int direction_hint) { | ||||
|   if(from->wall == waBoat && isWatery(to)) moveBoat(to, from, direction_hint); | ||||
|   else if(from->wall == waBoat && boatGoesThrough(to) && markEmpathy(itOrbWater)) { | ||||
|   else if(from->wall == waBoat && boatGoesThrough(to) && isFriendly(to) && markEmpathy(itOrbWater)) { | ||||
|     placeWater(to, from); | ||||
|     moveBoat(to, from, direction_hint); | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue