mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-22 23:00:01 +00:00
kludge to prevent dodo unique jumps
This commit is contained in:
parent
13cefd3293
commit
955698d2d3
|
@ -1539,7 +1539,8 @@ int8 CRunningScript::ProcessCommands400To499(int32 command)
|
||||||
CollectParameters(&m_nIp, 1);
|
CollectParameters(&m_nIp, 1);
|
||||||
CVehicle* pVehicle = CPools::GetVehiclePool()->GetAt(ScriptParams[0]);
|
CVehicle* pVehicle = CPools::GetVehiclePool()->GetAt(ScriptParams[0]);
|
||||||
script_assert(pVehicle);
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue