]> granicus.if.org Git - nethack/commitdiff
now we need one of those temporary failures so we can see if recovery works,
authorkeni <keni>
Fri, 30 Dec 2011 23:14:58 +0000 (23:14 +0000)
committerkeni <keni>
Fri, 30 Dec 2011 23:14:58 +0000 (23:14 +0000)
and that's a crapshoot: mcastu.c mhitu.c

src/mcastu.c
src/mhitu.c

index f480442143aa41a7811b0596b69ce9e1db258a92..a8bc604b2c3b13460825b717d34827e2d1063c63 100644 (file)
@@ -622,7 +622,7 @@ int spellnum;
                  (num_eyes == 1) ?
                  body_part(EYE) : makeplural(body_part(EYE)));
            make_blinded(Half_spell_damage ? 100L : 200L, FALSE);
-           if (!Blind) Your(vision_clears);
+           if (!Blind) Your1(vision_clears);
            dmg = 0;
        } else
            impossible("no reason for monster to cast blindness spell?");
index e469264f958d766618a5a0fa270ed1a9a2a42005..d36d1eb07876a2a53c639490c76cfadfc610b0a6 100644 (file)
@@ -1063,7 +1063,7 @@ hitmu(mtmp, mattk)
                if (can_blnd(mtmp, &youmonst, mattk->aatyp, (struct obj*)0)) {
                    if (!Blind) pline("%s blinds you!", Monnam(mtmp));
                    make_blinded(Blinded+(long)dmg,FALSE);
-                   if (!Blind) Your(vision_clears);
+                   if (!Blind) Your1(vision_clears);
                }
                dmg = 0;
                break;
@@ -1784,7 +1784,7 @@ gulpmu(mtmp, mattk)       /* monster swallows you, or damage if u.uswallow */
                            long was_blinded = Blinded;
                            if (!Blinded) You_cant("see in here!");
                            make_blinded((long)tmp,FALSE);
-                           if (!was_blinded && !Blind) Your(vision_clears);
+                           if (!was_blinded && !Blind) Your1(vision_clears);
                        } else
                            /* keep him blind until disgorged */
                            make_blinded(Blinded+1,FALSE);
@@ -1912,7 +1912,7 @@ common:
                    if (mon_visible(mtmp) || (rnd(tmp /= 2) > u.ulevel)) {
                        You("are blinded by a blast of light!");
                        make_blinded((long)tmp, FALSE);
-                       if (!Blind) Your(vision_clears);
+                       if (!Blind) Your1(vision_clears);
                    } else if (flags.verbose)
                        You("get the impression it was not terribly bright.");
                }
@@ -2078,7 +2078,7 @@ gazemu(mtmp, mattk)       /* monster gazes at you */
                    /* not blind at this point implies you're wearing
                       the Eyes of the Overworld; make them block this
                       particular stun attack too */
-                   if (!Blind) Your(vision_clears);
+                   if (!Blind) Your1(vision_clears);
                    else make_stunned((long)d(1,3),TRUE);
                }
            }