Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions addons/missileguidance/functions/fnc_seekerType_SACLOS.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ private _projPos = getPosASL _projectile;
private _lookDirection = switch (_dirMode) do {
case SCALOS_DIR_WEAPON: { // Player/StaticWeapon
_shooterPos = eyePos _shooter;
if (_weapon isNotEqualTo (currentWeapon _shooter)) then {
if (isNil "CBA_disposable_usedLaunchers") exitWith {};
_weapon = CBA_disposable_usedLaunchers getOrDefault [_weapon, _weapon];
};
_shooter weaponDirection _weapon
};
case SCALOS_DIR_ANIM: { // use animationSourcePhase
Expand Down
Loading