]> granicus.if.org Git - nethack/commitdiff
fix another regression in pager.c
authornhmall <nhmall@nethack.org>
Thu, 7 Jan 2021 20:52:38 +0000 (15:52 -0500)
committernhmall <nhmall@nethack.org>
Thu, 7 Jan 2021 20:52:38 +0000 (15:52 -0500)
src/pager.c

index e7898c072d5e46a9e31e5fcba4a62910963c4884..fb96e98b5bd6782e8b530a3e9e06111740ae7737 100644 (file)
@@ -1153,7 +1153,7 @@ struct permonst **for_supplement;
             case SYM_PET_OVERRIDE + SYM_OFF_X:
                 if (looked) {
                     /* convert to symbol without override in effect */
-                    map_glyphinfo(cc.x, cc.y, glyph, 0, &glyphinfo);
+                    map_glyphinfo(cc.x, cc.y, glyph, MG_FLAG_NOOVERRIDE, &glyphinfo);
                     sym = glyphinfo.ttychar;
                     goto check_monsters;
                 }