Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
forgot to wrap in FIX_BUGS
  • Loading branch information
aap committed Dec 3, 2020
1 parent 955698d commit a6c4d9b77cce5a7709e8ab23ab019e91ea0ab798
Showing with 5 additions and 0 deletions.
  1. +5 −0 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:

0 comments on commit a6c4d9b

Please sign in to comment.