1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-28 11:00:34 +00:00

removed unneeded setdist

This commit is contained in:
Zeno Rogue 2019-08-02 18:55:20 +02:00
parent 9f664568ab
commit 9f51df9720

View File

@ -819,7 +819,6 @@ void giantLandSwitch(cell *c, int d, cell *from) {
c->wall = waIcewall;
for(int i=0; i<c->type; i++) if(hrand(100) < 50) {
cell *c2 = createMov(c, i);
setdist(c2, d+1, c);
if(c2->wall == waBarrier || c2->land != laIce) continue;
c2->wall = waIcewall;
}