From: PatR Date: Thu, 16 Jun 2022 16:42:52 +0000 (-0700) Subject: minor perm_invent fix X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=479945257bc7c2ab1c98b073def0d0ab4c69fab0;p=nethack minor perm_invent fix --- 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);