]> granicus.if.org Git - nethack/commitdiff
(From <Someone>)
authornethack.allison <nethack.allison>
Fri, 19 Jul 2002 13:42:24 +0000 (13:42 +0000)
committernethack.allison <nethack.allison>
Fri, 19 Jul 2002 13:42:24 +0000 (13:42 +0000)
> It's probably best to empty
> mswin_update_inventory() in win\win32\. If I
> remember correctly there is some code in there now
> which probably behaves badly if perm_invent is
> switched on

win/win32/mswproc.c

index 724ad0f8485114ba453353cc275078c0b58ad6e3..933bf6d3bd20e224ad9aa94442bc0b36eff2b700 100644 (file)
@@ -1176,8 +1176,6 @@ int mswin_select_menu(winid wid, int how, MENU_ITEM_P **selected)
 void mswin_update_inventory()
 {
        logDebug("mswin_update_inventory()\n");
-    if (program_state.something_worth_saving && flags.perm_invent)
-        display_inventory(NULL, FALSE);
 }
 
 /*