diff --git a/doc/fixes34.1 b/doc/fixes34.1 index f7c48803a..c3568c7a1 100644 --- a/doc/fixes34.1 +++ b/doc/fixes34.1 @@ -135,6 +135,7 @@ win32: allow error save files to be generated win32: strip illegal file name characters from plname and replace with '_' win32gui: make error() work; it was essentially non-operative in 3.4.0 win32gui: fix alignment of columns in menu windows +win32gui: Window menu File|Save worked during #quit disclosure processing win32tty: honour the use_inverse option and default to ATR_BOLD if disabled win32tty: respond only to mouse clicks not mouse movement X11: restore support for non-square tiles when USE_XPM is defined diff --git a/win/win32/mhmain.c b/win/win32/mhmain.c index fb2563827..92b10bfea 100644 --- a/win/win32/mhmain.c +++ b/win/win32/mhmain.c @@ -709,7 +709,8 @@ LRESULT onWMCommand(HWND hWnd, WPARAM wParam, LPARAM lParam) break; case IDM_SAVE: - dosave(); + if (!program_state.gameover && !program_state.done_hup) dosave(); + else MessageBeep(0); break; case IDM_MAP_TILES: