From 4474d3cb2ae58f5be37ea96ba4335c70caccb034 Mon Sep 17 00:00:00 2001 From: nhmall Date: Tue, 18 Aug 2026 07:54:46 -0400 Subject: [PATCH] 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. --- sys/share/pcmain.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/share/pcmain.c b/sys/share/pcmain.c index 3f5e2fd5f..d0f671930 100644 --- a/sys/share/pcmain.c +++ b/sys/share/pcmain.c @@ -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.