From 278ffe7d6550a4b4a0a4507cfe2af96d192b5f92 Mon Sep 17 00:00:00 2001
From: jaynus <walter.pearce@idi-systems.com>
Date: Sun, 5 Apr 2015 10:45:09 -0700
Subject: [PATCH] save

---
 addons/wep_javelin/functions/fnc_fired.sqf | 33 ++++++++++++----------
 1 file changed, 18 insertions(+), 15 deletions(-)

diff --git a/addons/wep_javelin/functions/fnc_fired.sqf b/addons/wep_javelin/functions/fnc_fired.sqf
index 52933b0cc9..014bc972bb 100644
--- a/addons/wep_javelin/functions/fnc_fired.sqf
+++ b/addons/wep_javelin/functions/fnc_fired.sqf
@@ -79,23 +79,26 @@ FUNC(guidance_Javelin_LOBL_TOP_PFH) = {
 
             // Stop jinking on terminal final decent
             if((_missilePos distance _targetPos) > 50) then {
-                if((_targetVectorSeeker select 0) < 0) then {
-                    _yaw = -_defYaw;
-                } else {
-                    if((_targetVectorSeeker select 0) > 0) then {
-                        _yaw = _defYaw;
-                    };
+                _defPitch = 0.0015;
+                _defYaw = 0.0015;
+            };
+               
+            if((_targetVectorSeeker select 0) < 0) then {
+                _yaw = -_defYaw;
+            } else {
+                if((_targetVectorSeeker select 0) > 0) then {
+                    _yaw = _defYaw;
                 };
-                
-                
-                if((_targetVectorSeeker select 2) < 0) then {
-                    _pitch = -_defPitch;
-                } else {
-                    if((_targetVectorSeeker select 2) > 0) then {
-                        _pitch = _defPitch;
-                    };
+            };
+
+            if((_targetVectorSeeker select 2) < 0) then {
+                _pitch = -_defPitch;
+            } else {
+                if((_targetVectorSeeker select 2) > 0) then {
+                    _pitch = _defPitch;
                 };
-			};
+            };
+			
 			TRACE_3("", _targetVectorSeeker, _pitch, _yaw);
 			
 	#ifdef DEBUG_MODE_FULL