mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
* BugFix: More cleanup of MSVC compiler warnings.
This commit is contained in:
parent
22d6b4a1f1
commit
74cc60508b
7 changed files with 2 additions and 42 deletions
|
|
@ -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, (), ,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue