mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-07-09 16:01:53 +00:00
Remove duplicated code
This commit is contained in:
parent
3eb278684a
commit
66f67267c7
1 changed files with 0 additions and 17 deletions
17
src/d_main.c
17
src/d_main.c
|
|
@ -1496,23 +1496,6 @@ void D_SRB2Main(void)
|
|||
}
|
||||
}
|
||||
|
||||
// this must be done after loading gamedata,
|
||||
// to avoid setting off the corrupted gamedata code in G_LoadGameData if a SOC with custom gamedata is added
|
||||
// -- Monster Iestyn 20/02/20
|
||||
if (M_CheckParm("-warp") && M_IsNextParm())
|
||||
{
|
||||
const char *word = M_GetNextParm();
|
||||
pstartmap = G_FindMapByNameOrCode(word, 0);
|
||||
if (! pstartmap)
|
||||
I_Error("Cannot find a map remotely named '%s'\n", word);
|
||||
else
|
||||
{
|
||||
if (!M_CheckParm("-server"))
|
||||
G_SetGameModified(multiplayer, true);
|
||||
autostart = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (M_CheckParm("-noupload"))
|
||||
COM_BufAddText("downloading 0\n");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue