mirror of
https://github.com/bearstonem/openmohaa-vr.git
synced 2026-10-24 19:00:25 +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
@@ -844,6 +844,30 @@ StateScript *GameScript::GetCatchStateScript( unsigned char *in, unsigned char *
|
||||
}
|
||||
}
|
||||
|
||||
bool GameScript::ScriptCheck(void)
|
||||
{
|
||||
if (g_scriptcheck->integer == 1)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
if (g_scriptcheck->integer <= 3)
|
||||
{
|
||||
if (strstr(Filename().c_str(), "anim/") != Filename().c_str())
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
if (g_scriptcheck->integer == 3)
|
||||
{
|
||||
if (strstr(Filename().c_str(), "global/") != Filename().c_str())
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
ScriptThreadLabel::ScriptThreadLabel()
|
||||
{
|
||||
m_Script = NULL;
|
||||
|
||||
Reference in new issue
Block a user