mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
added a safeguard, just in case..
This commit is contained in:
parent
68c17d38f7
commit
e67dc8c0d1
1 changed files with 2 additions and 2 deletions
|
@ -2261,8 +2261,8 @@ void COM_InitFilesystem (void) //johnfitz -- modified based on topaz's tutorial
|
|||
com_modified = true;
|
||||
// don't load mission packs twice
|
||||
if (COM_CheckParm ("-rogue") && !q_strcasecmp(p, "rogue")) p = NULL;
|
||||
if (COM_CheckParm ("-hipnotic") && !q_strcasecmp(p, "hipnotic")) p = NULL;
|
||||
if (COM_CheckParm ("-quoth") && !q_strcasecmp(p, "quoth")) p = NULL;
|
||||
if (p && COM_CheckParm ("-hipnotic") && !q_strcasecmp(p, "hipnotic")) p = NULL;
|
||||
if (p && COM_CheckParm ("-quoth") && !q_strcasecmp(p, "quoth")) p = NULL;
|
||||
if (p != NULL) {
|
||||
COM_AddGameDirectory (com_basedir, p);
|
||||
// QuakeSpasm extension: treat '-game missionpack' as '-missionpack'
|
||||
|
|
Loading…
Reference in a new issue