]> granicus.if.org Git - nethack/commitdiff
a 3.7 merge fix for a recent display.c change
authornhmall <nhmall@nethack.org>
Sun, 9 Jun 2019 13:01:22 +0000 (09:01 -0400)
committernhmall <nhmall@nethack.org>
Sun, 9 Jun 2019 13:01:22 +0000 (09:01 -0400)
src/display.c

index e77fcc27bec7f5a5b6f30f0f712f0bd8ba20a608..f650fc49cc232942e9ff3244cc5fd2ef24813e17 100644 (file)
@@ -1080,7 +1080,7 @@ int x, y, tg;
      int i, glyph[2];
 
      glyph[0] = tg;
-     glyph[1] = (level.flags.hero_memory)
+     glyph[1] = (g.level.flags.hero_memory)
                     ? levl[x][y].glyph
                         : back_to_glyph(x, y);
      for (i = 0; i < 15; i++) {