Revert "Why did this move up again"

This reverts commit 424a50832d.
This commit is contained in:
NepDisk 2026-05-05 01:12:20 -04:00
parent 03400d0a81
commit b3938d3ecd

View file

@ -1638,6 +1638,24 @@ void D_SRB2Main(void)
COM_AddCommand("crash", Command_crash);
#endif
// add any files specified on the command line with -file wadfile
// to the wad list
if (!((M_GetUrlProtocolArg() || M_CheckParm("-connect")) && !M_CheckParm("-server")))
{
if (M_CheckParm("-file"))
{
// the parms after p are wadfile/lump names,
// until end of parms or another - preceded parm
while (M_IsNextParm())
{
const char *s = M_GetNextParm();
if (s) // Check for NULL?
D_AddFile(startuppwads, s);
}
}
}
// get map from parms
if (M_CheckParm("-server") || dedicated)
@ -1675,24 +1693,6 @@ void D_SRB2Main(void)
I_RegisterSysCommands();
// add any files specified on the command line with -file wadfile
// to the wad list
if (!((M_GetUrlProtocolArg() || M_CheckParm("-connect")) && !M_CheckParm("-server")))
{
if (M_CheckParm("-file"))
{
// the parms after p are wadfile/lump names,
// until end of parms or another - preceded parm
while (M_IsNextParm())
{
const char *s = M_GetNextParm();
if (s) // Check for NULL?
D_AddFile(startuppwads, s);
}
}
}
#ifdef HWRENDER
// Lactozilla: Add every hardware mode CVAR and CCMD.
// Has to be done before the configuration file loads,