(from Yitzhak)

- mostly from Yitzhak, with a modification based on subsequent discussion.

After installing everything (mail, cvs, etc) I found the compile was
broken.

Yitzhak: This fixes the compile.  I used LONG for the types because using DWORD
conflicted in Borland with signed/unsigned compare mismatches.

[Also works around some perm_invent code destined for a later patch that got
rolled in prematurely]
This commit is contained in:
nethack.allison
2002-03-28 14:24:29 +00:00
parent 68b4f9f2a3
commit e52620da26
2 changed files with 12 additions and 2 deletions
+1 -1
View File
@@ -1181,7 +1181,7 @@ 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)
if (program_state.something_worth_saving && flags.perm_invent)
display_inventory(NULL, FALSE);
}