From 289c2635bbae0febc3797452bbd1e1cfcc66b02a Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Sun, 18 Aug 2002 01:53:05 +0000 Subject: [PATCH] win32gui: hide perm_invent option from the options menu in the game --- win/win32/mswproc.c | 1 + win/win32/winhack.rc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/win/win32/mswproc.c b/win/win32/mswproc.c index d36723e95..b865c364a 100644 --- a/win/win32/mswproc.c +++ b/win/win32/mswproc.c @@ -201,6 +201,7 @@ void mswin_init_nhwindows(int* argc, char** argv) */ flags.toptenwin = 1; set_option_mod_status("toptenwin", SET_IN_FILE); + set_option_mod_status("perm_invent", SET_IN_FILE); /* initialize map tiles bitmap */ initMapTiles(); diff --git a/win/win32/winhack.rc b/win/win32/winhack.rc index 7af76637d..cf47cb4dd 100644 --- a/win/win32/winhack.rc +++ b/win/win32/winhack.rc @@ -45,7 +45,7 @@ IDC_NETHACKW MENU DISCARDABLE BEGIN POPUP "&File" BEGIN - MENUITEM "&Save", IDM_SAVE + MENUITEM "&Save and Exit", IDM_SAVE MENUITEM SEPARATOR MENUITEM "&Quit", IDM_EXIT END