File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 1- 530
1+ 538
Original file line number Diff line number Diff line change @@ -307,6 +307,15 @@ class ScriptVehicleRandomizer
307307 info->GetArg <float > (4 ) = 75 .0f ;
308308 }
309309
310+ static void
311+ FixFinaleHeistPrepdHelicopter (scrThread::Info *info)
312+ {
313+ if (scrThread::CheckActiveThread (" finale_heist_prepd" _joaat))
314+ {
315+ info->GetArg <float > (5 ) = -5 .0f ;
316+ }
317+ }
318+
310319 /* ******************************************************/
311320 static bool
312321 FixMichael2MissionDisruption (YscUtilsOps &ops)
@@ -373,6 +382,7 @@ class ScriptVehicleRandomizer
373382 RB_C_DO_CONFIG (" ScriptVehicleRandomizer" , LogSpawnedVehicles,
374383 ForcedVehicle);
375384
385+ HOOK (" ATTACH_ENTITY_TO_ENTITY" , FixFinaleHeistPrepdHelicopter);
376386 HOOK (" APPLY_FORCE_TO_ENTITY" , FixFinaleC2Physics);
377387 HOOK_A (" IS_VEHICLE_MODEL" , RemoveTriathlonFailState);
378388 HOOK_A (" IS_PED_IN_MODEL" , RemoveTriathlonFailState);
You can’t perform that action at this time.
0 commit comments