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
+1 -1
View File
@@ -77,7 +77,7 @@ void CMapReader::LoadMap(const VfsPath& pathname, CTerrain *pTerrain_,
// mostly-empty .pmp file, so we let the XML file specify basic terrain instead.
// If there's an .xml file and no .pmp, then we're probably in this XML-only mode
only_xml = false;
if (!FileExists(pathname) && FileExists(filename_xml))
if (!VfsFileExists(pathname) && VfsFileExists(filename_xml))
{
only_xml = true;
}