mirror of
https://github.com/bearstonem/openmohaa-vr.git
synced 2026-10-24 00:00:27 +02:00
Actor improvements p3_1
This commit is contained in:
1 parent
32fddb163f
commit
38b3f2b9b0
7 files changed
+71
-32
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user