I think this was From a bug report, but I cannot find the report
anymore. Perhaps I noticed it while doing something else. In any case,
every turn you're engulfed in, say, a dust vortex wearing the Eyes of the
Overworld, you get the "can't see"/"vision clears" message pair. This
patch modifies the behavior to only display this the first turn. Other code,
partially related to B01003, already deals with the puton-remove cases.
Since B01003 is only in the trunk, this fix is also only in the trunk.
case AD_BLND:
if (can_blnd(mtmp, &youmonst, mattk->aatyp, (struct obj*)0)) {
if(!Blind) {
- You_cant("see in here!");
+ long was_blinded = Blinded;
+ if (!Blinded) You_cant("see in here!");
make_blinded((long)tmp,FALSE);
- if (!Blind) Your(vision_clears);
+ if (!was_blinded && !Blind) Your(vision_clears);
} else
/* keep him blind until disgorged */
make_blinded(Blinded+1,FALSE);