Fixed gl_auto_closebox for gravesites

This commit is contained in:
NovaRain
2021-02-24 10:41:27 +08:00
parent cf8981b267
commit 797de4bc0e
2 changed files with 1 additions and 1 deletions
@@ -26,7 +26,7 @@ procedure start begin
lootObject := loot_obj; lootObject := loot_obj;
if (obj_type(lootObject) != OBJ_TYPE_ITEM) then lootObject = 0; if (obj_type(lootObject) != OBJ_TYPE_ITEM) then lootObject = 0;
end else if (lootObject andAlso get_sfall_arg_at(1) == INTFACELOOT) then begin end else if (lootObject andAlso get_sfall_arg_at(1) == INTFACELOOT) then begin
obj_close(lootObject); if (get_object_data(lootObject, OBJ_DATA_CUR_FRM) > 1) then obj_close(lootObject);
lootObject = 0; lootObject = 0;
end end
end end