digging/chopping a drawbridge

<Someone> mentioned this back in 12/05.  Digging a closed drawbridge would
result in a "This wall is too hard..." message.
This commit is contained in:
cohrs
2007-05-27 22:56:02 +00:00
parent e8012786d0
commit 2b29d99315
2 changed files with 3 additions and 1 deletions

View File

@@ -234,6 +234,7 @@ re-adjust gem generation probabilities when revisiting existing dungeon levels
kick evasion shouldn't move monsters through walls
kick evasion and jousting/staggering blows shouldn't move grid bugs diagonally
#untrap didn't check whether hero could reach the ground
digging/chopping a closed drawbridge message mentioned diggin a "wall"
Platform- and/or Interface-Specific Fixes

View File

@@ -234,7 +234,8 @@ dig(VOID_ARGS)
}
if (IS_ROCK(lev->typ) && !may_dig(dpx,dpy) &&
dig_typ(uwep, dpx, dpy) == DIGTYP_ROCK) {
pline("This wall is too hard to %s.", verb);
pline("This %s is too hard to %s.",
is_db_wall(dpx, dpy) ? "drawbridge" : "wall", verb);
return(0);
}
}