pcmain.c: remove added second early_init() call
early_init() was already being called at pcmain.c line 70, so the recently added call at line 132 was problematic because it cleared program_state values that had been intentionally set since the call at line 70.
This commit is contained in:
@@ -128,12 +128,8 @@ _CrtSetReportFile(_CRT_ASSERT, _CRTDBG_FILE_STDERR);*/
|
||||
#endif
|
||||
gh.hname = "NetHack"; /* used for syntax messages */
|
||||
|
||||
#if defined(PC_EARLY_OPTIONS)
|
||||
early_init(argc, argv);
|
||||
#endif
|
||||
choose_windows(DEFAULT_WINDOW_SYS);
|
||||
|
||||
|
||||
#if !defined(AMIGA) && !defined(GNUDOS)
|
||||
/* Save current directory and make sure it gets restored when
|
||||
* the game is exited.
|
||||
|
||||
Reference in New Issue
Block a user