]> granicus.if.org Git - nethack/commitdiff
seeing lightning while blind
authorcohrs <cohrs>
Sat, 19 Mar 2005 17:20:06 +0000 (17:20 +0000)
committercohrs <cohrs>
Sat, 19 Mar 2005 17:20:06 +0000 (17:20 +0000)
<Someone> reported that even when blind, you can get
"The bolt of lightning whizzes by you".

doc/fixes34.4
src/zap.c

index 39e5f3a0d3f4a3737d5319a997bcf87853adf61a..ddae48557634dd22c919e58dd8bb50a852c2eed4 100644 (file)
@@ -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
index f49568ad24fcee02c5c21ba6923f4b4240c94d6d..af93b50c9f7d50badf1bff43edddd30831bd2190 100644 (file)
--- 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();