diff options
author | aap <aap@papnet.eu> | 2020-05-09 13:00:39 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-09 13:00:39 +0200 |
commit | 989ded6052f6bd1c5d518e65768cce85a92fc20b (patch) | |
tree | a6560865ae82445f61b9e48082c0e82aeddf51c4 /src/control/Script.cpp | |
parent | Merge branch 'miami' of github.com:GTAmodding/re3 into miami (diff) | |
download | re3-989ded6052f6bd1c5d518e65768cce85a92fc20b.tar re3-989ded6052f6bd1c5d518e65768cce85a92fc20b.tar.gz re3-989ded6052f6bd1c5d518e65768cce85a92fc20b.tar.bz2 re3-989ded6052f6bd1c5d518e65768cce85a92fc20b.tar.lz re3-989ded6052f6bd1c5d518e65768cce85a92fc20b.tar.xz re3-989ded6052f6bd1c5d518e65768cce85a92fc20b.tar.zst re3-989ded6052f6bd1c5d518e65768cce85a92fc20b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/control/Script.cpp | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp index b6729486..badcebf2 100644 --- a/src/control/Script.cpp +++ b/src/control/Script.cpp @@ -6175,25 +6175,12 @@ int8 CRunningScript::ProcessCommands700To799(int32 command) } case COMMAND_CREATE_CUTSCENE_HEAD: { - CollectParameters(&m_nIp, 2); - CObject* pObject = CPools::GetObjectPool()->GetAt(ScriptParams[0]); - assert(pObject); - CCutsceneHead* pCutHead = CCutsceneMgr::AddCutsceneHead(pObject, ScriptParams[1]); - ScriptParams[0] = CPools::GetObjectPool()->GetIndex(pCutHead); - StoreParameters(&m_nIp, 1); + assert(0); return 0; } case COMMAND_SET_CUTSCENE_HEAD_ANIM: { - CollectParameters(&m_nIp, 1); - CObject* pCutHead = CPools::GetObjectPool()->GetAt(ScriptParams[0]); - assert(pCutHead); - char name[KEY_LENGTH_IN_SCRIPT]; - strncpy(name, (const char*)&CTheScripts::ScriptSpace[m_nIp], KEY_LENGTH_IN_SCRIPT); - m_nIp += KEY_LENGTH_IN_SCRIPT; - CTimer::Stop(); - CCutsceneMgr::SetHeadAnim(name, pCutHead); - CTimer::Update(); + assert(0); return 0; } case COMMAND_SIN: |