From f3e2f08b54fa521fdfbabfc2599f7cb7b530f342 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Sat, 9 Jul 2022 18:44:23 +0300 Subject: [PATCH] Unhide monster when object is dropped through hole Monster hiding under an object on a hole, the object got knocked down the hole, the monster kept hiding. --- src/dokick.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/dokick.c b/src/dokick.c index 585ac8fbd..efe4ba5a4 100644 --- a/src/dokick.c +++ b/src/dokick.c @@ -1603,8 +1603,10 @@ ship_object(struct obj *otmp, coordxy x, coordxy y, boolean shop_floor_obj) otransit_msg(otmp, nodrop, chainthere, n); if (nodrop) { - if (impact) + if (impact) { impact_drop(otmp, x, y, 0); + maybe_unhide_at(x, y); + } return FALSE; }