mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-14 02:14:56 +00:00
FileExists -> VfsFileExists (see next commit)
scriptInterface: fix bool cast warning This was SVN commit r8984.
This commit is contained in:
@@ -167,7 +167,7 @@ LibError CSimulation2Impl::ReloadChangedFile(const VfsPath& path)
|
||||
|
||||
// If the file doesn't exist (e.g. it was deleted), don't bother loading it since that'll give an error message.
|
||||
// (Also don't bother trying to 'unload' it from the component manager, because that's not possible)
|
||||
if (!FileExists(path))
|
||||
if (!VfsFileExists(path))
|
||||
return INFO::OK;
|
||||
|
||||
LOGMESSAGE(L"Reloading simulation script '%ls'", filename.c_str());
|
||||
|
||||
Reference in New Issue
Block a user