From 479945257bc7c2ab1c98b073def0d0ab4c69fab0 Mon Sep 17 00:00:00 2001 From: PatR Date: Thu, 16 Jun 2022 09:42:52 -0700 Subject: [PATCH] minor perm_invent fix --- src/invent.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/invent.c b/src/invent.c index 04b4dc5d5..29bcc6a66 100644 --- a/src/invent.c +++ b/src/invent.c @@ -2405,7 +2405,7 @@ learn_unseen_invent(void) void update_inventory(void) { - boolean save_suppress_price; + int save_suppress_price; if (suppress_map_output()) /* despite name, used for perm_invent too */ return; @@ -2426,7 +2426,7 @@ update_inventory(void) * paying for used-up shop items; that follows a different code path.) */ save_suppress_price = iflags.suppress_price; - iflags.suppress_price = FALSE; + iflags.suppress_price = 0; (*windowprocs.win_update_inventory)(0);