mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-08 12:04:09 +00:00
fixed garages + minor fixes
This commit is contained in:
parent
ccbbde549e
commit
4197498e2d
4 changed files with 44 additions and 4 deletions
|
@ -2332,6 +2332,7 @@ CRunningScript* CTheScripts::StartNewScript(uint32 ip)
|
|||
pNew->Init();
|
||||
pNew->SetIP(ip);
|
||||
pNew->AddScriptToList(&pActiveScripts);
|
||||
pNew->m_bIsActive = true;
|
||||
return pNew;
|
||||
}
|
||||
|
||||
|
@ -2416,6 +2417,8 @@ void CTheScripts::Process()
|
|||
script->UpdateTimers(timeStep);
|
||||
script->Process();
|
||||
script = next;
|
||||
if (script && !script->m_bIsActive)
|
||||
script = nil;
|
||||
}
|
||||
DbgFlag = false;
|
||||
#ifdef USE_ADVANCED_SCRIPT_DEBUG_OUTPUT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue