From 67b485601a3a4b2b126a09114879643263765159 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Sat, 21 Aug 2021 18:50:13 +0300 Subject: [PATCH] sanity checking: bypassed billed object destroyed --- src/shk.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/shk.c b/src/shk.c index 187efafcf..2828d2c40 100644 --- a/src/shk.c +++ b/src/shk.c @@ -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. */