Actor improvements p3_1

This commit is contained in:
mohabhassan committed 2019-06-30 02:42:38 +02:00
1 parent 32fddb163f
commit 38b3f2b9b0
7 files changed
+71 -32

No files matched your search

+15
View File
@@ -2028,6 +2028,21 @@ void ScriptVM::HandleScriptException( ScriptException& exc )
}
glbs.Printf( "^~^~^ Script Error : %s\n\n", exc.string.c_str() );
if (m_ScriptClass->GetScript()->ScriptCheck())
{
if (g_scriptcheck->integer != 2 || !exc.bIsForAnim)
{
ScriptException e("Script check failed");
e.bAbort = exc.bAbort;
e.bIsForAnim = exc.bIsForAnim;
state = STATE_EXECUTION;
throw e;
}
}
Director.cmdCount += 100;
}
/*