FileExists -> VfsFileExists (see next commit)

scriptInterface: fix bool cast warning

This was SVN commit r8984.
This commit is contained in:
janwas
2011-02-25 16:30:55 +00:00
parent 77fe5c9e40
commit d805ef356e
10 changed files with 17 additions and 17 deletions
+3 -3
View File
@@ -29,14 +29,14 @@ PIVFS g_VFS;
static std::vector<std::pair<FileReloadFunc, void*> > g_ReloadFuncs;
bool FileExists(const PIVFS& vfs, const VfsPath& pathname)
bool VfsFileExists(const PIVFS& vfs, const VfsPath& pathname)
{
return vfs->GetFileInfo(pathname, 0) == INFO::OK;
}
bool FileExists(const VfsPath& pathname)
bool VfsFileExists(const VfsPath& pathname)
{
return FileExists(g_VFS, pathname);
return VfsFileExists(g_VFS, pathname);
}
void RegisterFileReloadFunc(FileReloadFunc func, void* obj)