diff --git a/lf.c b/lf.c index e6b38ea..91e8d76 100644 --- a/lf.c +++ b/lf.c @@ -4740,7 +4740,6 @@ int digdown(lifeform_t *lf, object_t *o) { enum OBTYPE digoid = OT_NONE; getlfname(lf, lfname); - if (o) { if (lfhasflag(lf, F_LEVITATING)) { if (isplayer(lf)) { diff --git a/map.c b/map.c index 995052d..d2d89ce 100644 --- a/map.c +++ b/map.c @@ -9014,13 +9014,24 @@ int isdiggable(cell_t *c, enum OBTYPE withwhat) { case CT_WALLDIRT: case CT_WALL: case CT_WALLWOOD: + // for digging down + case CT_CORRIDOR: + case CT_MOSSROCK: + case CT_LOOPCORRIDOR: + case CT_FLOORCARPET: + case CT_FLOORFLESH: + case CT_FLOORSNOW: + case CT_GRASS: + case CT_DIRT: + case CT_LOWFLOOR: + case CT_VLOWFLOOR: //case CT_WALLGLASS: return B_TRUE; default: break; } } else if (ot->id == OT_A_DISMANTLE) { - // using dismantle ability - only mad-made materials. + // using dismantle ability - only man-made materials. switch (c->type->material->id) { case MT_BRICK: case MT_WOOD: