]> granicus.if.org Git - nethack/commitdiff
rollback one band
authornethack.allison <nethack.allison>
Sat, 10 May 2003 21:28:33 +0000 (21:28 +0000)
committernethack.allison <nethack.allison>
Sat, 10 May 2003 21:28:33 +0000 (21:28 +0000)
Rollback a band that shouldn't have been in recent patch at all.

src/trap.c

index 978c06eca1209f7fc190ae4e0f002922f39befcf..e696a920c45c0cf164c2dae86a5ef9a81c21c37f 100644 (file)
@@ -1,4 +1,4 @@
-/*     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. */
 
@@ -1208,6 +1208,7 @@ struct trap *trap;
        /* 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 */