From: nethack.allison Date: Mon, 4 Feb 2002 10:38:20 +0000 (+0000) Subject: force tingling nose X-Git-Tag: MOVE2GIT~3270 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2e030b4bf9aa8aeb99508d400d0229064bc1d75f;p=nethack 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. --- 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) {