From: cohrs <cohrs>
Date: Sat, 30 Mar 2002 21:21:35 +0000 (+0000)
Subject: discovering statue traps while blind (YAFM)
X-Git-Tag: MOVE2GIT~2851
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=60edf83441d22bf75f34921edf1f717b5ba1b545;p=nethack

discovering statue traps while blind (YAFM)
- use "something" not "it" for this case
---

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))