From c740d732cc5d1f648f2f6203b200211727129b02 Mon Sep 17 00:00:00 2001 From: "nethack.rankin" Date: Thu, 25 Jul 2002 23:55:06 +0000 Subject: [PATCH] phantom venom [ I didn't keep a copy of the message which reported this so don't have any reference number for it. ] If you used '/' to look at multiple items one after another, then looking at floor or other item represented by the same '.' as venom could result in subsequent things being falsely categorized as possibly venom. The subsequent items needed to have less than two possible descriptions, and the triggering item needed to be a plain dot rather than the graphic dot used for floor with IBMgraphics and DECgraphics. --- doc/fixes34.1 | 2 ++ src/pager.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/fixes34.1 b/doc/fixes34.1 index 19c820b66..04ab741d9 100644 --- a/doc/fixes34.1 +++ b/doc/fixes34.1 @@ -170,6 +170,8 @@ minetown guards only enforce town rules inside the town proper electric damage heals hero polymorphed into flesh golem rather than iron golem fix bug preventing wishing for bear traps (not beartrap objects) in debug mode be notified about cessation of hallucinations even if blind and the time +when using '/' to examine multiple map items in succession, don't mislabel + some with "or a splash of venom" after having looked at a '.' item Platform- and/or Interface-Specific Fixes diff --git a/src/pager.c b/src/pager.c index c730d70d4..75d9be982 100644 --- a/src/pager.c +++ b/src/pager.c @@ -443,7 +443,7 @@ do_look(quick) boolean from_screen; /* question from the screen */ boolean need_to_look; /* need to get explan. from glyph */ boolean hit_trap; /* true if found trap explanation */ - int skipped_venom = 0; /* non-zero if we ignored "splash of venom" */ + int skipped_venom; /* non-zero if we ignored "splash of venom" */ static const char *mon_interior = "the interior of a monster"; if (quick) { @@ -480,6 +480,7 @@ do_look(quick) /* Reset some variables. */ need_to_look = FALSE; pm = (struct permonst *)0; + skipped_venom = 0; found = 0; out_str[0] = '\0';