windows calls genl_prag() during startup

genl_prag() will process  the prag@ command line options, if present

Close #1634
This commit is contained in:
nhmall
2026-07-20 16:11:01 -04:00
parent 1821a6b2e3
commit 85e080bb5d
3 changed files with 87 additions and 0 deletions
+3
View File
@@ -289,6 +289,9 @@ _CrtSetReportFile(_CRT_ASSERT, _CRTDBG_FILE_STDERR);*/
nethack_exit(EXIT_FAILURE);
}
genl_prag(argc, argv); /* command line options for profession, race,
* alignment, gender */
/* Finished processing options, lock all directory paths */
for (int i = 0; i < PREFIX_COUNT; i++)
fqn_prefix_locked[i] = TRUE;