]> granicus.if.org Git - nethack/commitdiff
discovering statue traps while blind (YAFM)
authorcohrs <cohrs>
Sat, 30 Mar 2002 21:21:35 +0000 (21:21 +0000)
committercohrs <cohrs>
Sat, 30 Mar 2002 21:21:35 +0000 (21:21 +0000)
- use "something" not "it" for this case

src/trap.c

index 6a37d7e93d386616a2ffc9b05c14d907b931474f..f412ac33000bb5fc8e57b275ea72bc28fc7a7b8a 100644 (file)
@@ -447,7 +447,8 @@ int *fail_reason;
        else if (cause == ANIMATE_SHATTER)
            pline("Instead of shattering, the statue suddenly comes alive!");
        else /* cause == ANIMATE_NORMAL */
-           You("find %s posing as a statue.", a_monnam(mon));
+           You("find %s posing as a statue.",
+               canspotmon(mon) ? a_monnam(mon) : something);
        /* avoid hiding under nothing */
        if (x == u.ux && y == u.uy &&
                Upolyd && hides_under(youmonst.data) && !OBJ_AT(x, y))