From 2e030b4bf9aa8aeb99508d400d0229064bc1d75f Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Mon, 4 Feb 2002 10:38:20 +0000 Subject: [PATCH] force tingling nose wrote: >I also note that it's weird for your nose to stop tingling and your >sense of smell to return to normal, if flags.beginner prevented your >realising that your nose was tingling in the first place. --- src/detect.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/detect.c b/src/detect.c index 714e5d02f..cb893f197 100644 --- a/src/detect.c +++ b/src/detect.c @@ -313,9 +313,14 @@ register struct obj *sobj; char buf[BUFSZ]; Sprintf(buf, "Your %s twitches%s.", body_part(NOSE), (sobj->blessed && !u.uedibility) ? " then starts to tingle" : ""); - strange_feeling(sobj, buf); - if (sobj->blessed && !u.uedibility) + if (sobj->blessed && !u.uedibility) { + boolean savebeginner = flags.beginner; /* prevent non-delivery of */ + flags.beginner = FALSE; /* message */ + strange_feeling(sobj, buf); + flags.beginner = savebeginner; u.uedibility = 1; + } else + strange_feeling(sobj, buf); } return !stale; } else if (!ct) {