mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	removed unneeded setdist
This commit is contained in:
		| @@ -819,7 +819,6 @@ void giantLandSwitch(cell *c, int d, cell *from) { | |||||||
|           c->wall = waIcewall; |           c->wall = waIcewall; | ||||||
|           for(int i=0; i<c->type; i++) if(hrand(100) < 50) { |           for(int i=0; i<c->type; i++) if(hrand(100) < 50) { | ||||||
|             cell *c2 = createMov(c, i); |             cell *c2 = createMov(c, i); | ||||||
|             setdist(c2, d+1, c); |  | ||||||
|             if(c2->wall == waBarrier || c2->land != laIce) continue; |             if(c2->wall == waBarrier || c2->land != laIce) continue; | ||||||
|             c2->wall = waIcewall; |             c2->wall = waIcewall; | ||||||
|             } |             } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue