mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-02-01 20:30:57 +00:00
Fix bug in -game parsing
This commit is contained in:
parent
8a62bebaef
commit
8138b9c4e8
1 changed files with 1 additions and 3 deletions
|
@ -1045,10 +1045,8 @@ COM_InitFilesystem ( void )
|
|||
gamedirs = strdup (com_argv[i+1]);
|
||||
where = strtok (gamedirs, ",");
|
||||
while (where) {
|
||||
COM_CreateGameDirectory (where);
|
||||
where = strtok (NULL, ",");
|
||||
if (where) {
|
||||
COM_CreateGameDirectory (where);
|
||||
}
|
||||
}
|
||||
free (gamedirs);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue