mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-22 20:11:44 +00:00
Make it search id1 for maps
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1379 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
ad3f2c26ac
commit
da15b1fb17
1 changed files with 6 additions and 2 deletions
|
@ -214,8 +214,12 @@ bsp_t *BSP_LoadModel(char *gamedir, char *bspname)
|
||||||
data = ReadFile_WINDOWSSUCKS(gamedir, bspname, &size);
|
data = ReadFile_WINDOWSSUCKS(gamedir, bspname, &size);
|
||||||
if (!data)
|
if (!data)
|
||||||
{
|
{
|
||||||
printf("Couldn't open bsp file \"%s\" (gamedir \"%s\")\n", bspname, gamedir);
|
data = ReadFile_WINDOWSSUCKS("id1", bspname, &size);
|
||||||
return NULL;
|
if (!data)
|
||||||
|
{
|
||||||
|
printf("Couldn't open bsp file \"%s\" (gamedir \"%s\")\n", bspname, gamedir);
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue