From dfb1d04b6a1cfe97a1e78e7f024cf156662cec1a Mon Sep 17 00:00:00 2001 From: cohrs Date: Sun, 5 Feb 2006 02:06:24 +0000 Subject: [PATCH] inappropriate "lamp flickers" message while blind From a bug report. Add missing !Blind check. --- doc/fixes35.0 | 1 + src/apply.c | 1 + 2 files changed, 2 insertions(+) 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 { -- 2.40.0