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.
This commit is contained in:
Pasi Kallinen
2022-07-09 18:44:23 +03:00
parent 6249fa7e54
commit f3e2f08b54

View File

@@ -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;
}