avoid shk interaction too early

This commit is contained in:
nhmall
2026-05-30 15:54:18 -04:00
parent b6b35a8d0f
commit f72554a238
+3 -1
View File
@@ -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;