]> granicus.if.org Git - nethack/commitdiff
seeing lightning while blind followup
authorcohrs <cohrs>
Sat, 19 Mar 2005 17:22:46 +0000 (17:22 +0000)
committercohrs <cohrs>
Sat, 19 Mar 2005 17:22:46 +0000 (17:22 +0000)
As soon as I did the commit, I saw I was missing a test before the
"tingles" message.

src/zap.c

index af93b50c9f7d50badf1bff43edddd30831bd2190..911c3760fb35418ae05a3391dc49c56a5fe5ed6d 100644 (file)
--- a/src/zap.c
+++ b/src/zap.c
@@ -3548,7 +3548,7 @@ register int dx,dy;
                }
            } else if (!Blind) {
                pline("%s whizzes by you!", The(fltxt));
-           } else {
+           } else if (abstype == ZT_LIGHTNING) {
                Your("%s tingles.", body_part(ARM));
            }
            if (abstype == ZT_LIGHTNING) (void) flashburn((long)d(nd,50));