Warn if the first argument is an option
(cherry picked from commit c9aad2d1862e92fc78d8dfbd5d1f2c5969d90d84)
This commit is contained in:
1 parent
93c351a38e
commit
9a054ab989
1 file changed
+2
-1
+2
-1
@@ -2660,7 +2660,8 @@ static void Command_Map_f(void)
|
||||
return;
|
||||
}
|
||||
|
||||
if (COM_Argc() < acceptableargc)
|
||||
/* If the first argument is an option, you fucked up. */
|
||||
if (COM_Argc() < acceptableargc || first_argument == 1)
|
||||
{
|
||||
/* I'm going over the fucking lines and I DON'T CAREEEEE */
|
||||
CONS_Printf("map <name / [MAP]code / number> [-gametype <type>] [-encore] [-force]:\n");
|
||||
|
||||
Reference in new issue
Block a user