]> granicus.if.org Git - nethack/commitdiff
statue trap triggered by Blind searching
authornethack.allison <nethack.allison>
Fri, 17 Dec 2004 01:53:35 +0000 (01:53 +0000)
committernethack.allison <nethack.allison>
Fri, 17 Dec 2004 01:53:35 +0000 (01:53 +0000)
<Someone> wrote:
> Blind, s)earching unknown territory...
>
>   "You find something posing as a statue."
>
> Shouldn't this map_invisible()?

doc/fixes34.4
src/trap.c

index fd999b7fb3b688ca0cb5f7840ff7daa83020d0f9..14de95848b285d515d94631a456c94805f350411 100644 (file)
@@ -75,6 +75,7 @@ fix case on monster name when monster reflects floating eye's gaze
 monsters "shrieking in pain" from a potion didn't wake anything up
 Master of Thieves as Tourist Nemesis still had STRAT_CLOSE
 co-aligned unicorns in bones could be hostile
+finding "something" posing as a statue while Blind should map_invisible()
 
 
 Platform- and/or Interface-Specific Fixes
index 94a9f70f9293741a0797eeb9654b21dfbb42353c..2ad66652d9daafada96320e24aaf860bee5104a7 100644 (file)
@@ -494,6 +494,8 @@ int *fail_reason;
        } else { /* cause == ANIMATE_NORMAL */
            You("find %s posing as a statue.",
                canspotmon(mon) ? a_monnam(mon) : something);
+           if (!canspotmon(mon) && Blind)
+               map_invisible(x,y);
            stop_occupation();
        }