From 4d2c82e482caf7a66009338351845fd62e26d4ab Mon Sep 17 00:00:00 2001 From: David Cohrs Date: Fri, 15 Jan 2016 20:35:15 -0800 Subject: [PATCH] Only print giant snatching boulder message when cansee pos. Reported by a couple times directly to devteam, no bz. --- src/trap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/trap.c b/src/trap.c index 4a065d1ef..535014bef 100644 --- a/src/trap.c +++ b/src/trap.c @@ -1757,7 +1757,8 @@ int style; if ((mtmp = m_at(bhitpos.x, bhitpos.y)) != 0) { if (otyp == BOULDER && throws_rocks(mtmp->data)) { if (rn2(3)) { - pline("%s snatches the boulder.", Monnam(mtmp)); + if (cansee(bhitpos.x, bhitpos.y)) + pline("%s snatches the boulder.", Monnam(mtmp)); singleobj->otrapped = 0; (void) mpickobj(mtmp, singleobj); used_up = TRUE;