From 4574738c48c34af2aa9f05df8e28227ee82bef59 Mon Sep 17 00:00:00 2001 From: nhmall Date: Thu, 6 Nov 2025 18:43:48 -0500 Subject: [PATCH] Revert "follow-up: program_state field isn't boolean" This reverts commit 6af5a906bc2896fb1a31da8da4f539f0615840a8. --- src/invent.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/invent.c b/src/invent.c index 86ce36880..fbbbe9ab9 100644 --- a/src/invent.c +++ b/src/invent.c @@ -2703,12 +2703,12 @@ update_inventory(void) * attempt in the shop code handled it for unpaid items but not for * paying for used-up shop items; that follows a different code path.) */ - program_state.in_update_inventory = 1; + program_state.in_update_inventory = TRUE; save_suppress_price = iflags.suppress_price; iflags.suppress_price = 0; (*windowprocs.win_update_inventory)(0); iflags.suppress_price = save_suppress_price; - program_state.in_update_inventory = 0; + program_state.in_update_inventory = FALSE; } /* the #perminv command - call interface's persistent inventory routine */