]> granicus.if.org Git - nethack/commitdiff
B04009 ftn msg when blind/!invis and gain see invis.
authornethack.allison <nethack.allison>
Sun, 14 Jul 2002 18:04:59 +0000 (18:04 +0000)
committernethack.allison <nethack.allison>
Sun, 14 Jul 2002 18:04:59 +0000 (18:04 +0000)
<Someone> writes:
Why do you "feel transparent" when you gain see invisible from a
fountain when blind and _not_ invisible? Transparency usually refers
to _being_ invisible.

Good point. I think this may have been what was intended, but it's
been like this for quite a while.

src/fountain.c

index 63effbe7a534dda9967e87ee69366eb0bee83cc4..2be456d3aa3a9c2e54f2be1e5efd1315faa6d146 100644 (file)
@@ -289,13 +289,11 @@ drinkfountain()
 
                case 25: /* See invisible */
 
-                       if (Blind) {
-                         if (Invisible) {
+                       if (Blind && Invisible) {
                            You("feel very self-conscious.");
                            pline("Then it passes.");
-                         } else {
+                       } else if (Invisible) { /* but not Blind */
                            You("feel transparent.");
-                         }
                        } else {
                           You("see an image of someone stalking you.");
                           pline("But it disappears.");