qboolean com_modified; // set true if using non-id files
-qboolean msg_suppress_1 = 0;
-
void COM_InitFilesystem (void);
char com_token[1024];
int gamemode;
char *gamename;
char *gamedirname;
+char com_modname[MAX_OSPATH];
/*
break;
string[l] = c;
l++;
- } while (l < sizeof(string)-1);
+ } while (l < (int)sizeof(string)-1);
string[l] = 0;
while (remaining)
{
- if (remaining < sizeof(buf))
+ if (remaining < (int)sizeof(buf))
count = remaining;
else
count = sizeof(buf);
com_basedir[i-1] = 0;
// start up with GAMENAME by default (id1)
+ strcpy(com_modname, GAMENAME);
COM_AddGameDirectory (va("%s/"GAMENAME, com_basedir));
if (gamedirname[0])
{
com_modified = true;
+ strcpy(com_modname, gamedirname);
COM_AddGameDirectory (va("%s/%s", com_basedir, gamedirname));
}
if (i && i < com_argc-1)
{
com_modified = true;
+ strcpy(com_modname, com_argv[i+1]);
COM_AddGameDirectory (va("%s/%s", com_basedir, com_argv[i+1]));
}