From: cohrs Date: Sun, 5 Feb 2006 02:06:24 +0000 (+0000) Subject: inappropriate "lamp flickers" message while blind X-Git-Tag: MOVE2GIT~1132 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dfb1d04b6a1cfe97a1e78e7f024cf156662cec1a;p=nethack inappropriate "lamp flickers" message while blind From a bug report. Add missing !Blind check. --- diff --git a/doc/fixes35.0 b/doc/fixes35.0 index 319252efd..75b7166c9 100644 --- a/doc/fixes35.0 +++ b/doc/fixes35.0 @@ -116,6 +116,7 @@ zapping unlocking magic at self while punished will remove attached chain don't see objects or read engraving when hero changes location (random teleport) or position (levitation timeout) while asleep or fainted polymorphed spellbooks may turn blank or be too faint to read +avoid inappropriate message when using a cursed lamp while blind Platform- and/or Interface-Specific Fixes diff --git a/src/apply.c b/src/apply.c index 1f5d2babd..5427a5102 100644 --- a/src/apply.c +++ b/src/apply.c @@ -1179,6 +1179,7 @@ struct obj *obj; return; } if (obj->cursed && !rn2(2)) { + if (!Blind) pline("%s for a moment, then %s.", Tobjnam(obj, "flicker"), otense(obj, "die")); } else {