mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
Give JK2 paths a go too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@971 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
f1e145867e
commit
638fad7d95
1 changed files with 9 additions and 0 deletions
|
@ -4542,7 +4542,16 @@ void COM_InitFilesystem (void)
|
||||||
COM_AddGameDirectory (va("%s/baseq3", com_basedir) );
|
COM_AddGameDirectory (va("%s/baseq3", com_basedir) );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
f = fopen(va("%s/base/assets0.pk3", com_basedir), "rb");
|
||||||
|
if (f)
|
||||||
|
{
|
||||||
|
fclose(f);
|
||||||
|
COM_AddGameDirectory (va("%s/base", com_basedir) );
|
||||||
|
}
|
||||||
|
else
|
||||||
COM_AddGameDirectory (va("%s/id1", com_basedir) ); //ah well, id1 it is, they mustve unpacked it.
|
COM_AddGameDirectory (va("%s/id1", com_basedir) ); //ah well, id1 it is, they mustve unpacked it.
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue