git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9107
d7cf8633-e32d-0410-b094-
e92efae38249
Cvar_SetQuick (&scr_screenshot_name, com_modname);
else
Cvar_SetQuick (&scr_screenshot_name, gamescreenshotname);
Cvar_SetQuick (&scr_screenshot_name, com_modname);
else
Cvar_SetQuick (&scr_screenshot_name, gamescreenshotname);
+
+ if((i = COM_CheckParm("-modname")) && i < com_argc - 1)
+ strlcpy(com_modname, com_argv[i+1], sizeof(com_modname));
// If "-condebug" is in the command line, remove the previous log file
if (COM_CheckParm ("-condebug") != 0)
// If "-condebug" is in the command line, remove the previous log file
if (COM_CheckParm ("-condebug") != 0)