sanity checking: bypassed billed object destroyed

This commit is contained in:
Pasi Kallinen
2021-08-21 18:50:13 +03:00
parent 5316364a91
commit 67b485601a

View File

@@ -2506,6 +2506,8 @@ add_to_billobjs(struct obj* obj)
in_use by dodrink/dopotion but isn't being be used up yet because
it stays on the bill; only object sanity checking actually cares */
obj->in_use = 0;
/* ... same for bypass by destroy_item */
obj->bypass = 0;
}
/* recursive billing of objects within containers. */