mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Permit using the gametype option for Command_Map_f when not playing multiplayer
This commit is contained in:
parent
470f82104d
commit
1ac0c44f77
1 changed files with 4 additions and 1 deletions
|
|
@ -2739,13 +2739,16 @@ static void Command_Map_f(void)
|
||||||
|
|
||||||
if (option_gametype)
|
if (option_gametype)
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
if (!multiplayer)
|
if (!multiplayer)
|
||||||
{
|
{
|
||||||
CONS_Printf(M_GetText(
|
CONS_Printf(M_GetText(
|
||||||
"You can't switch gametypes in single player!\n"));
|
"You can't switch gametypes in single player!\n"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else if (COM_Argc() < option_gametype + 2)/* no argument after? */
|
else
|
||||||
|
#endif //#if 0
|
||||||
|
if (COM_Argc() < option_gametype + 2)/* no argument after? */
|
||||||
{
|
{
|
||||||
CONS_Alert(CONS_ERROR,
|
CONS_Alert(CONS_ERROR,
|
||||||
"No gametype name follows parameter '%s'.\n",
|
"No gametype name follows parameter '%s'.\n",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue