<email deleted>
The following fixes several bugs: 1) Mismatch between docs and game in definition of what '+' resolved in favor of docs... 2) When game needs to be recovered a message box is shown. This is a very deprecated fix. It pretty much answers just the conditions that require this (a yn question to an erroneous winid), and is not useful for other purposes. 3) The score file is written.
This commit is contained in:
+1
-4
@@ -62,6 +62,7 @@ int APIENTRY WinMain(HINSTANCE hInstance,
|
||||
_nethack_app.winStatusAlign = NHWND_ALIGN_BOTTOM;
|
||||
_nethack_app.winMessageAlign = NHWND_ALIGN_TOP;
|
||||
_nethack_app.mapCliparoundMargin = DEF_CLIPAROUND_MARGIN;
|
||||
_nethack_app.saved_text = strdup(TEXT(""));
|
||||
|
||||
// init controls
|
||||
ZeroMemory(&InitCtrls, sizeof(InitCtrls));
|
||||
@@ -75,10 +76,6 @@ int APIENTRY WinMain(HINSTANCE hInstance,
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
#ifdef _DEBUG
|
||||
wizard = TRUE;
|
||||
#endif
|
||||
|
||||
/* get command line parameters */
|
||||
p = _tcstok(GetCommandLine(), TEXT(" "));
|
||||
for( argc=0; p && argc<MAX_CMDLINE_PARAM; argc++ ) {
|
||||
|
||||
Reference in New Issue
Block a user