From 65325f40675f7ed535c23de805cfaeddd658ba54 Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Sun, 30 Jun 2002 00:52:49 +0000 Subject: [PATCH] lookat() trapped detail Sent: Thursday, June 13, 2002 12:03 PM Subject: Beta 1 comments >A minor thing, but it'd be nice if the "trapped" now in lookat() >had a defsyms[trap_to_defsym(tt)].explanation to tell you _how_ >the monster's trapped. --- src/pager.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pager.c b/src/pager.c index d89e69086..072334224 100644 --- a/src/pager.c +++ b/src/pager.c @@ -127,8 +127,10 @@ lookat(x, y, buf, monbuf) /* newsym lets you know of the trap, so mention it here */ if (tt == BEAR_TRAP || tt == PIT || - tt == SPIKED_PIT ||tt == WEB) - Strcat(buf, ", trapped"); + tt == SPIKED_PIT ||tt == WEB) { + Strcat(buf, ", trapped in "); + Strcat(buf, defsyms[trap_to_defsym(tt)].explanation); + } } {