Fix an object sanity check failure: a buried object with its bypass bit set. clear_bypasses() was supposed to be clearing the bypass bit on every object but was neglecting the buried objects list and the billed objects list (and inventory of the mydogs list, but that is expected to always be empty at the time when clear_bypasses() gets called). We already had an issue with billed objects, revealed by the fuzzer soon after sanity checking was extended to test bypass/in_use/nomerge bits. That one was fixed by clearing the bypass bit of specific objects as they are being added to a shop bill. This fix should make that earlier one become obsolete, but isn't removing it.
108 KiB
108 KiB