From 60edf83441d22bf75f34921edf1f717b5ba1b545 Mon Sep 17 00:00:00 2001 From: cohrs Date: Sat, 30 Mar 2002 21:21:35 +0000 Subject: [PATCH] discovering statue traps while blind (YAFM) - use "something" not "it" for this case --- src/trap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/trap.c b/src/trap.c index 6a37d7e93..f412ac330 100644 --- a/src/trap.c +++ b/src/trap.c @@ -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)) -- 2.40.0