1
0
Fork 0
forked from fte/fteqw

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:
Spoike 2012-07-08 12:33:08 +00:00
parent 73fd4fcf8d
commit fcf33c350d

View file

@ -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);
@ -345,4 +345,5 @@ searchpathfuncs_t stdiofilefuncs = {
FSSTDIO_PollChanges
};
#endif
#endif
#endif