]> granicus.if.org Git - nethack/commitdiff
yet more magic whistle
authorPatR <rankin@nethack.org>
Sun, 19 Jun 2022 09:39:43 +0000 (02:39 -0700)
committerPatR <rankin@nethack.org>
Sun, 19 Jun 2022 09:39:43 +0000 (02:39 -0700)
'optr' was accidentally left around from an intermediate revision.
There's no reason to keep it as a comment.

src/apply.c

index a4f4f9cef730403a1e2c7a57f0a3a22a2b30ff2f..0b3f66b83bae4dc7440187e252c0bbb76590b1cd 100644 (file)
@@ -1,4 +1,4 @@
-/* NetHack 3.7 apply.c $NHDT-Date: 1655627973 2022/06/19 08:39:33 $  $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.379 $ */
+/* NetHack 3.7 apply.c $NHDT-Date: 1655631557 2022/06/19 09:39:17 $  $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.381 $ */
 /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
 /*-Copyright (c) Robert Patrick Rankin, 2012. */
 /* NetHack may be freely redistributed.  See license for details. */
@@ -492,7 +492,6 @@ static void
 magic_whistled(struct obj *obj)
 {
     struct monst *mtmp, *nextmon;
-    /* struct permonst *optr; */
     char buf[BUFSZ], *mnam = 0,
          shiftbuf[BUFSZ + sizeof "shifts location"],
          appearbuf[BUFSZ + sizeof "appears"],
@@ -529,7 +528,6 @@ magic_whistled(struct obj *obj)
         if (M_AP_TYPE(mtmp))
             seemimic(mtmp);
         omx = mtmp->mx, omy = mtmp->my;
-        /* optr = mtmp->data; */
         mnexto(mtmp, !already_discovered ? RLOC_MSG : RLOC_NONE);
 
         if (mtmp->mx != omx || mtmp->my != omy) {