Prevent melting ice destroying necessary traps
A magic portal ended up on a melting ice.
This commit is contained in:
@@ -7064,7 +7064,8 @@ trap_ice_effects(coordxy x, coordxy y, boolean ice_is_melting)
|
||||
int otyp = (ttmp->ttyp == LANDMINE) ? LAND_MINE : BEARTRAP;
|
||||
cnv_trap_obj(otyp, 1, ttmp, TRUE);
|
||||
} else {
|
||||
deltrap(ttmp);
|
||||
if (!undestroyable_trap(ttmp->ttyp))
|
||||
deltrap(ttmp);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user