some changes tried while working on issue #1289

display.h -- bring an unused macro up to date
detect.c  -- always call newsym() when searching or secret door
  detection finds a trap rather than just when not blind
glyphs.c  -- some formatting
pager.c   -- lookat() behaves very strangely when single-stepping
  in the debugger (gdb); this didn't help
This commit is contained in:
PatR
2024-09-28 23:50:27 -07:00
parent 0128fcdf6c
commit 525c6744ee
4 changed files with 31 additions and 22 deletions

View File

@@ -981,9 +981,10 @@ enum glyph_offsets {
#if 0
#define glyph_is_piletop(glyph) \
(glyph_is_body_piletop(glyph) \
|| glyph_is_statue_piletop(glyph) \
|| glyph_is_fem_statue_piletop(glyph) \
|| glyph_is_male_statue_piletop(glyph) \
|| glyph_is_piletop_generic_obj(glyph) \
|| glyph_is_obj_piletop(glyph))
|| glyph_is_normal_piletop_obj(glyph))
#endif
/* mgflags for altering map_glyphinfo() internal behavior */