sanity check of objs_deletedNetHack-3.7
commit8d9b26e26d25ae59a445b142399ff5d4e20fef8f
authorPatR <rankin@nethack.org>
Tue, 7 May 2024 19:19:43 +0000 (7 12:19 -0700)
committerPatR <rankin@nethack.org>
Tue, 7 May 2024 19:19:43 +0000 (7 12:19 -0700)
treeb0fd7fde8a9c64f49fcb163f55ccf8b91b36bb29
parentc8b8f8767ee6b4759764a7a92cf6fa3dce3c51f0
sanity check of objs_deleted

Teach obj_sanity_check() and clear_bypasses() about the new obj list.
It should always be empty when sanity checks are performed.  That
might not be the case when obj bypasses are cleared, although failing
to clear bypasses for deleted objects wouldn't make any difference,
so this is mainly cosmetic.
src/mkobj.c
src/worn.c