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:
Spoike 2005-04-20 23:46:20 +00:00
parent f1e145867e
commit 638fad7d95

View file

@ -4542,7 +4542,16 @@ void COM_InitFilesystem (void)
COM_AddGameDirectory (va("%s/baseq3", com_basedir) );
}
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.
}
}
}
}