fix W343-7 - strange topten output on Windows
Move the toptenwin option from flags to iflags to keep it out of save files, thus preventing odd behavior from win32 (nethackW.exe) when restoring and finishing games started and saved with tty (nethack.exe). [See cvs log entry for flag.h for more complete explanation.]
This commit is contained in:
@@ -180,7 +180,7 @@ void mswin_init_nhwindows(int* argc, char** argv)
|
||||
* write output to a window or stdout. stdout doesn't make sense on Windows
|
||||
* non-console applications
|
||||
*/
|
||||
flags.toptenwin = 1;
|
||||
iflags.toptenwin = 1;
|
||||
set_option_mod_status("toptenwin", SET_IN_FILE);
|
||||
|
||||
/* initialize map tiles bitmap */
|
||||
|
||||
Reference in New Issue
Block a user