summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-12-03 16:05:28 +0100
committeraap <aap@papnet.eu>2020-12-03 16:05:28 +0100
commit955698d2d37688b86568ee9633cac64bcc01db17 (patch)
treee15e2cfa64c18e2dcb2b0869a1478b377da65e3f /src/control
parentmore PS2 stuff; memory movement done (diff)
downloadre3-955698d2d37688b86568ee9633cac64bcc01db17.tar
re3-955698d2d37688b86568ee9633cac64bcc01db17.tar.gz
re3-955698d2d37688b86568ee9633cac64bcc01db17.tar.bz2
re3-955698d2d37688b86568ee9633cac64bcc01db17.tar.lz
re3-955698d2d37688b86568ee9633cac64bcc01db17.tar.xz
re3-955698d2d37688b86568ee9633cac64bcc01db17.tar.zst
re3-955698d2d37688b86568ee9633cac64bcc01db17.zip
Diffstat (limited to 'src/control')
-rw-r--r--src/control/Script2.cpp3
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: