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:
+3
-1
@@ -1603,8 +1603,10 @@ ship_object(struct obj *otmp, coordxy x, coordxy y, boolean shop_floor_obj)
|
|||||||
otransit_msg(otmp, nodrop, chainthere, n);
|
otransit_msg(otmp, nodrop, chainthere, n);
|
||||||
|
|
||||||
if (nodrop) {
|
if (nodrop) {
|
||||||
if (impact)
|
if (impact) {
|
||||||
impact_drop(otmp, x, y, 0);
|
impact_drop(otmp, x, y, 0);
|
||||||
|
maybe_unhide_at(x, y);
|
||||||
|
}
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user