summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-12-03 16:07:16 +0100
committeraap <aap@papnet.eu>2020-12-03 16:07:16 +0100
commita6c4d9b77cce5a7709e8ab23ab019e91ea0ab798 (patch)
treef802b3746e60b3b2dd646bbd6d44c59a3c46e063
parentkludge to prevent dodo unique jumps (diff)
downloadre3-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.cpp5
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: