mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	Merge pull request #28 from Quuxplusone/thumper-and-boat
Pushing a thumper through a boat is no longer allowed.
This commit is contained in:
		
							
								
								
									
										2
									
								
								game.cpp
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								game.cpp
									
									
									
									
									
								
							| @@ -7235,7 +7235,7 @@ void pushThumper(cell *th, cell *cto) { | ||||
|   } | ||||
|  | ||||
| bool canPushThumperOn(cell *tgt, cell *thumper, cell *player) { | ||||
|   if(tgt->wall == waBoat) return false; | ||||
|   if(tgt->wall == waBoat || tgt->wall == waStrandedBoat) return false; | ||||
|   if(isReptile(tgt->wall)) return false; | ||||
|   if(isWatery(tgt) && !tgt->monst) | ||||
|     return true; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue