]> granicus.if.org Git - nethack/commitdiff
comment accuracy
authornhmall <nhmall@nethack.org>
Sun, 24 Oct 2021 13:31:31 +0000 (09:31 -0400)
committernhmall <nhmall@nethack.org>
Sun, 24 Oct 2021 13:31:31 +0000 (09:31 -0400)
The function involved is a different one now, but the comment had not
been updated.

include/defsym.h

index 093497d1f0688dc8628fda0c42b1620d96e9489e..a8817bfc99eb2288c45ee982e2850c116d749bc1 100644 (file)
     PCHAR( 68, '~',  S_vibrating_square, "vibrating square", CLR(CLR_MAGENTA))
     /* end traps                                                       */
     /* end cmap B */
-    /*                                                                 */
-    /* begin special effects                                           */
-    /*                                                                 */
-    /* zap colors are changed by map_glyphinfo() to match type of beam */
-    /*                                                                 */
+    /*                                                                   */
+    /* begin special effects                                             */
+    /*                                                                   */
+    /* zap colors are changed by reset_glyphinfo() to match type of beam */
+    /*                                                                   */
     PCHAR2(69, '|',  S_vbeam, "vertical beam", "", CLR(CLR_GRAY))
     PCHAR2(70, '-',  S_hbeam, "horizontal beam", "", CLR(CLR_GRAY))
     PCHAR2(71, '\\', S_lslant, "left slant beam", "", CLR(CLR_GRAY))
     /*                                                             */
     /* The 8 swallow symbols.  Do NOT separate.                    */
     /* To change order or add, see the function swallow_to_glyph() */
-    /* in display.c. swallow colors are changed by map_glyphinfo() */
-    /* to match the engulfing monst.                               */
+    /* in display.c. swallow colors are changed by                 */
+    /* reset_glyphmap() to match the engulfing monst.              */
     /*                                                             */
     /*  Order:                                                     */
     /*                                                             */
     PCHAR2(89, '-',  S_sw_bc, "swallow bottom center", "", CLR(CLR_GREEN)) /* 8 */
     PCHAR2(90, '/',  S_sw_br, "swallow bottom right", "", CLR(CLR_GREEN))  /* 9 */
     /*                                                             */
-    /* explosion colors are changed by map_glyphinfo() to match    */
+    /* explosion colors are changed by reset_glyphmap() to match   */
     /* the type of expl.                                           */
     /*                                                             */
     /*    Ex.                                                      */