mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 22:12:59 +00:00 
			
		
		
		
	sandworms no longer explode in 3D
This commit is contained in:
		
							
								
								
									
										3
									
								
								game.cpp
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								game.cpp
									
									
									
									
									
								
							| @@ -4541,6 +4541,9 @@ void moveWorm(cell *c) { | |||||||
|    |    | ||||||
|   if(mounted) mf ^= (MF_MOUNT | MF_PATHDIST); |   if(mounted) mf ^= (MF_MOUNT | MF_PATHDIST); | ||||||
|    |    | ||||||
|  |   // without this, in 3D geometries, Sandworms explode because no land around them is generated yet | ||||||
|  |   forCellCM(c2, c) setdist(c2, 8, c); | ||||||
|  |    | ||||||
|   int dir = pickMoveDirection(c, mf); |   int dir = pickMoveDirection(c, mf); | ||||||
|    |    | ||||||
|   if(c->wall == waRose) { |   if(c->wall == waRose) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue