mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
Fix fs_cache issue.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4064 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
73fd4fcf8d
commit
fcf33c350d
1 changed files with 3 additions and 2 deletions
|
@ -248,7 +248,7 @@ static int FSSTDIO_RebuildFSHash(const char *filename, int filesize, void *data)
|
|||
|
||||
char childpath[256];
|
||||
Q_snprintfz(childpath, sizeof(childpath), "%s*", filename);
|
||||
Sys_EnumerateFiles((char*)data, childpath, FSSTDIO_RebuildFSHash, data);
|
||||
Sys_EnumerateFiles(sp->rootpath, childpath, FSSTDIO_RebuildFSHash, data);
|
||||
return true;
|
||||
}
|
||||
FS_AddFileHash(sp->depth, filename, NULL, sp);
|
||||
|
@ -346,3 +346,4 @@ searchpathfuncs_t stdiofilefuncs = {
|
|||
};
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue