Skip to content

Commit

Permalink
missileguidance - cleanup 2 params (acemod#10424)
Browse files Browse the repository at this point in the history
  • Loading branch information
PabstMirror authored Oct 15, 2024
1 parent 54150b9 commit e4be813
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
3 changes: 2 additions & 1 deletion addons/missileguidance/functions/fnc_navigationType_line.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
* Public: No
*/
params ["_args", "_timestep", "_seekerTargetPos", "_profileAdjustedTargetPos", "_targetData", "_navigationParams"];
_args params ["", "", "_flightParams"];
_args params ["_firedEH", "", "_flightParams"];
_firedEH params ["","","","","","","_projectile"];
_targetData params ["", "_targetDir", "_distance"];
_flightParams params ["_pitchRate", "_yawRate"];

Expand Down
8 changes: 2 additions & 6 deletions addons/missileguidance/functions/fnc_proNav_onFired.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,8 @@
*
* Public: No
*/
params ["_firedEH", "", "", "", "_stateParams"];
_firedEH params ["_shooter","","","","_ammo","","_projectile"];
_launchParams params ["_shooter","_targetLaunchParams","_seekerType","_attackProfile","_lockMode","_laserInfo","_navigationType"];
_targetLaunchParams params ["_target", "_targetPos", "_launchPos"];
_stateParams params ["_lastRunTime", "_seekerStateParams", "_attackProfileStateParams", "_lastKnownPosState"];
_seekerParams params ["_seekerAngle", "_seekerAccuracy", "_seekerMaxRange", "_seekerMinRange"];
params ["_firedEH"];
_firedEH params ["","","","","","","_projectile"];

private _ammoConfig = configOf _projectile;
private _navigationGain = getNumber (_ammoConfig >> QUOTE(ADDON) >> "navigationGain");
Expand Down

0 comments on commit e4be813

Please sign in to comment.