mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 10:09:02 +00:00
forgot to wrap in FIX_BUGS
This commit is contained in:
parent
955698d2d3
commit
a6c4d9b77c
1 changed files with 5 additions and 0 deletions
|
@ -1539,8 +1539,13 @@ 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);
|
||||||
|
#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;
|
bool usj_with_dodo = strcmp(m_abScriptName, "usj") == 0 && pVehicle->GetModelIndex() == MI_DODO;
|
||||||
UpdateCompareFlag(pVehicle->m_nCollisionRecords == 0 && !usj_with_dodo);
|
UpdateCompareFlag(pVehicle->m_nCollisionRecords == 0 && !usj_with_dodo);
|
||||||
|
#else
|
||||||
|
UpdateCompareFlag(pVehicle->m_nCollisionRecords == 0);
|
||||||
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue