diff options
author | aap <aap@papnet.eu> | 2020-12-03 16:05:28 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-12-03 16:05:28 +0100 |
commit | 955698d2d37688b86568ee9633cac64bcc01db17 (patch) | |
tree | e15e2cfa64c18e2dcb2b0869a1478b377da65e3f /src/control | |
parent | 13cefd329390c119126af6dcf0558ceb7c720e59 (diff) |
kludge to prevent dodo unique jumps
Diffstat (limited to 'src/control')
-rw-r--r-- | src/control/Script2.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/control/Script2.cpp b/src/control/Script2.cpp index 62b9af93..9363cc7b 100644 --- a/src/control/Script2.cpp +++ b/src/control/Script2.cpp @@ -1539,7 +1539,8 @@ int8 CRunningScript::ProcessCommands400To499(int32 command) CollectParameters(&m_nIp, 1); CVehicle* pVehicle = CPools::GetVehiclePool()->GetAt(ScriptParams[0]); script_assert(pVehicle); - UpdateCompareFlag(pVehicle->m_nCollisionRecords == 0); + bool usj_with_dodo = strcmp(m_abScriptName, "usj") == 0 && pVehicle->GetModelIndex() == MI_DODO; + UpdateCompareFlag(pVehicle->m_nCollisionRecords == 0 && !usj_with_dodo); return 0; } default: |