ref: b24a72cfd68ccf06ab86a70356f5c6df87bd9eb6
parent: 8bf9496eeb4b9b32f1863cd10765b31f80bb971c
author: Simon Howard <[email protected]>
date: Thu Feb 24 15:55:54 EST 2011
Load response files from main() before calling D_DoomMain, so that all executables load response files, including the setup tool. Subversion-branch: /branches/raven-branch Subversion-revision: 2276
--- a/src/doom/d_main.c
+++ b/src/doom/d_main.c
@@ -1100,8 +1100,6 @@
I_AtExit(D_Endoom, false);
- M_FindResponseFile ();
-
// print banner
I_PrintBanner(PACKAGE_STRING);
--- a/src/heretic/d_main.c
+++ b/src/heretic/d_main.c
@@ -805,7 +805,6 @@
I_AtExit(D_Endoom, false);
- M_FindResponseFile();
nomonsters = M_CheckParm("-nomonsters");
respawnparm = M_CheckParm("-respawn");
ravpic = M_CheckParm("-ravpic");
--- a/src/hexen/h2_main.c
+++ b/src/hexen/h2_main.c
@@ -232,7 +232,6 @@
int p;
I_AtExit(D_HexenQuitMessage, false);
- M_FindResponseFile();
startepisode = 1;
autostart = false;
startskill = sk_medium;
--- a/src/i_main.c
+++ b/src/i_main.c
@@ -154,6 +154,8 @@
LockCPUAffinity();
+ M_FindResponseFile();
+
// start doom
D_DoomMain ();