mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	dice:: shapes for other geometries
This commit is contained in:
		
							
								
								
									
										2
									
								
								game.cpp
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								game.cpp
									
									
									
									
									
								
							| @@ -411,7 +411,7 @@ EX void pushThumper(const movei& mi) { | ||||
| EX bool canPushThumperOn(movei mi, cell *player) { | ||||
|   cell *thumper = mi.s; | ||||
|   cell *tgt = mi.t; | ||||
|   if(among(thumper->wall, waRichDie, waHappyDie) && ctof(tgt)) | ||||
|   if(among(thumper->wall, waRichDie, waHappyDie) && !dice::can_roll(mi)) | ||||
|     return false; | ||||
|   if(tgt->wall == waBoat || tgt->wall == waStrandedBoat) return false;   | ||||
|   if(isReptile(tgt->wall)) return false; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue