make deliberately flying down the Castle's trap doors consistent with falling
give more explicit feedback for exploding bag of holding
help display for "list of game options" misformats runmode and scroll_amount
+pit created by land mine explosion doesn't start out concealed
+update map display sooner when pushed boulder triggers land mine explosion
Platform- and/or Interface-Specific Fixes
-/* SCCS Id: @(#)hack.c 3.4 2003/01/08 */
+/* SCCS Id: @(#)hack.c 3.4 2003/04/30 */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* NetHack may be freely redistributed. See license for details. */
switch(ttmp->ttyp) {
case LANDMINE:
if (rn2(10)) {
- pline("KAABLAMM!!! %s %s land mine.",
- Tobjnam(otmp, "trigger"),
- ttmp->madeby_u ? "your" : "a");
obj_extract_self(otmp);
place_object(otmp, rx, ry);
+ unblock_point(sx, sy);
+ newsym(sx, sy);
+ pline("KAABLAMM!!! %s %s land mine.",
+ Tobjnam(otmp, "trigger"),
+ ttmp->madeby_u ? "your" : "a");
blow_up_landmine(ttmp);
/* if the boulder remains, it should fill the pit */
fill_pit(u.ux, u.uy);
-/* SCCS Id: @(#)trap.c 3.4 2003/02/10 */
+/* SCCS Id: @(#)trap.c 3.4 2003/04/30 */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* NetHack may be freely redistributed. See license for details. */
/* caller may subsequently fill pit, e.g. with a boulder */
trap->ttyp = PIT; /* explosion creates a pit */
trap->madeby_u = FALSE; /* resulting pit isn't yours */
+ seetrap(trap); /* and it isn't concealed */
}
#endif /* OVLB */