Fixes all that tests for relative file depths.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1674 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2005-12-06 02:21:56 +00:00
parent 89a52c4a5a
commit c6b27d0b81

View file

@ -1023,6 +1023,7 @@ int FS_FLocateFile(char *filename, FSLF_ReturnType_e returntype, flocation_t *lo
loc->search = search;
goto out;
}
depth += (search->funcs != &osfilefuncs || returntype == FSLFRT_DEPTH_ANYPATH);
}
}
@ -1038,6 +1039,7 @@ int FS_FLocateFile(char *filename, FSLF_ReturnType_e returntype, flocation_t *lo
loc->search = search;
goto out;
}
depth += (search->funcs != &osfilefuncs || returntype == FSLFRT_DEPTH_ANYPATH);
}
fail:
if (loc)