* BugFix: More cleanup of MSVC compiler warnings.

This commit is contained in:
Robert MacGregor 2021-10-07 01:10:00 -04:00
parent 22d6b4a1f1
commit 74cc60508b
7 changed files with 2 additions and 42 deletions

View file

@ -191,16 +191,6 @@ bool ScriptAsset::execScript()
return true;
return false;
if (Torque::FS::IsScriptFile(mScriptPath))
{
return Con::executeFile(mScriptPath, false, false);
}
else
{
Con::errorf("ScriptAsset:execScript() - Script asset must have a valid file to exec");
return false;
}
}
DefineEngineMethod(ScriptAsset, execScript, bool, (), ,