From dfb1a421ed1fb2899cbbec3dfdc44bd7c51bb269 Mon Sep 17 00:00:00 2001 From: cohrs Date: Sat, 19 Mar 2005 17:20:06 +0000 Subject: [PATCH] seeing lightning while blind reported that even when blind, you can get "The bolt of lightning whizzes by you". --- doc/fixes34.4 | 1 + src/zap.c | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/fixes34.4 b/doc/fixes34.4 index 39e5f3a0d..ddae48557 100644 --- a/doc/fixes34.4 +++ b/doc/fixes34.4 @@ -98,6 +98,7 @@ green slime should not affect noncorporeal monsters land mine explosion will destroy a drawbridge at same location avoid some more buffer overflows in query buffers containing object names avoid giving extra information about things that break out of sight +avoid giving away wand type for near misses while blind Platform- and/or Interface-Specific Fixes diff --git a/src/zap.c b/src/zap.c index f49568ad2..af93b50c9 100644 --- a/src/zap.c +++ b/src/zap.c @@ -3546,8 +3546,10 @@ register int dx,dy; } else { zhitu(type, nd, fltxt, sx, sy); } - } else { + } else if (!Blind) { pline("%s whizzes by you!", The(fltxt)); + } else { + Your("%s tingles.", body_part(ARM)); } if (abstype == ZT_LIGHTNING) (void) flashburn((long)d(nd,50)); stop_occupation();