avoid shk interaction too early
This commit is contained in:
+3
-1
@@ -2354,7 +2354,9 @@ place_object(struct obj *otmp, coordxy x, coordxy y)
|
|||||||
otmp->where = OBJ_FLOOR;
|
otmp->where = OBJ_FLOOR;
|
||||||
|
|
||||||
/* if placed outside of shop, no_charge is no longer applicable */
|
/* if placed outside of shop, no_charge is no longer applicable */
|
||||||
if (otmp->no_charge && !costly_spot(x, y)
|
if (program_state.beyond_savefile_load
|
||||||
|
&& otmp->no_charge
|
||||||
|
&& !costly_spot(x, y)
|
||||||
&& !costly_adjacent(find_objowner(otmp, x, y), x, y))
|
&& !costly_adjacent(find_objowner(otmp, x, y), x, y))
|
||||||
otmp->no_charge = 0;
|
otmp->no_charge = 0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user