mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-30 21:42:59 +00:00 
			
		
		
		
	Pushing a thumper through a boat is no longer allowed.
The old behavior was that you could push a thumper onto a stranded boat, which would destroy the stranded boat.
This commit is contained in:
		
							
								
								
									
										2
									
								
								game.cpp
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								game.cpp
									
									
									
									
									
								
							| @@ -6270,7 +6270,7 @@ void pushThumper(cell *th, cell *cto) { | |||||||
|   } |   } | ||||||
|  |  | ||||||
| bool canPushThumperOn(cell *tgt, cell *thumper, cell *player) { | 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(isReptile(tgt->wall)) return false; | ||||||
|   if(isWatery(tgt) && !tgt->monst) |   if(isWatery(tgt) && !tgt->monst) | ||||||
|     return true; |     return true; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Arthur O'Dwyer
					Arthur O'Dwyer