From: Pasi Kallinen Date: Sat, 9 Jul 2022 15:44:23 +0000 (+0300) Subject: Unhide monster when object is dropped through hole X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f3e2f08b54fa521fdfbabfc2599f7cb7b530f342;p=nethack 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. --- 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; }