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:
parent
89a52c4a5a
commit
c6b27d0b81
1 changed files with 2 additions and 0 deletions
|
@ -1023,6 +1023,7 @@ int FS_FLocateFile(char *filename, FSLF_ReturnType_e returntype, flocation_t *lo
|
||||||
loc->search = search;
|
loc->search = search;
|
||||||
goto out;
|
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;
|
loc->search = search;
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
depth += (search->funcs != &osfilefuncs || returntype == FSLFRT_DEPTH_ANYPATH);
|
||||||
}
|
}
|
||||||
fail:
|
fail:
|
||||||
if (loc)
|
if (loc)
|
||||||
|
|
Loading…
Reference in a new issue