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:
nhmall
2026-08-18 07:54:46 -04:00
parent 9de03944e8
commit 4474d3cb2a
-4
View File
@@ -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.