From 6fb2000feb45282f3fe34ae5d04f0246dd908b71 Mon Sep 17 00:00:00 2001 From: nhmall Date: Wed, 7 Nov 2018 17:06:45 -0500 Subject: [PATCH] fix odd wording "The boulder triggers and fills a pit" --- src/do.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/do.c b/src/do.c index db67a34d9..a403376b7 100644 --- a/src/do.c +++ b/src/do.c @@ -178,7 +178,9 @@ const char *verb; if (Blind && (x == u.ux) && (y == u.uy)) { You_hear("a CRASH! beneath you."); } else if (!Blind && cansee(x, y)) { - pline_The("boulder %s%s.", t->tseen ? "" : "triggers and ", + pline_The("boulder %s%s.", + (t->ttyp == TRAPDOOR && !t->tseen) + ? "triggers and " : "", t->ttyp == TRAPDOOR ? "plugs a trap door" : t->ttyp == HOLE ? "plugs a hole"