diff options
author | aap <aap@papnet.eu> | 2020-12-03 16:07:16 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-12-03 16:07:16 +0100 |
commit | a6c4d9b77cce5a7709e8ab23ab019e91ea0ab798 (patch) | |
tree | f802b3746e60b3b2dd646bbd6d44c59a3c46e063 | |
parent | kludge to prevent dodo unique jumps (diff) | |
download | re3-a6c4d9b77cce5a7709e8ab23ab019e91ea0ab798.tar re3-a6c4d9b77cce5a7709e8ab23ab019e91ea0ab798.tar.gz re3-a6c4d9b77cce5a7709e8ab23ab019e91ea0ab798.tar.bz2 re3-a6c4d9b77cce5a7709e8ab23ab019e91ea0ab798.tar.lz re3-a6c4d9b77cce5a7709e8ab23ab019e91ea0ab798.tar.xz re3-a6c4d9b77cce5a7709e8ab23ab019e91ea0ab798.tar.zst re3-a6c4d9b77cce5a7709e8ab23ab019e91ea0ab798.zip |
Diffstat (limited to '')
-rw-r--r-- | src/control/Script2.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/control/Script2.cpp b/src/control/Script2.cpp index 9363cc7b..562125c6 100644 --- a/src/control/Script2.cpp +++ b/src/control/Script2.cpp @@ -1539,8 +1539,13 @@ int8 CRunningScript::ProcessCommands400To499(int32 command) CollectParameters(&m_nIp, 1); CVehicle* pVehicle = CPools::GetVehiclePool()->GetAt(ScriptParams[0]); script_assert(pVehicle); +#ifdef FIX_BUGS + // don't wanna get stuck in unique stunt jump cam forever bool usj_with_dodo = strcmp(m_abScriptName, "usj") == 0 && pVehicle->GetModelIndex() == MI_DODO; UpdateCompareFlag(pVehicle->m_nCollisionRecords == 0 && !usj_with_dodo); +#else + UpdateCompareFlag(pVehicle->m_nCollisionRecords == 0); +#endif return 0; } default: |