mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-27 08:52:46 +00:00
FileExists -> VfsFileExists (see next commit)
scriptInterface: fix bool cast warning This was SVN commit r8984.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user