From acb93935806d171f123f22d645ed43a99477261a Mon Sep 17 00:00:00 2001
From: legoboyvdlp R <legoboyvdlp@gmail.com>
Date: Tue, 17 Mar 2020 13:41:38 +0000
Subject: [PATCH] Correct the property for the window icing, adjust the vector
 for sideways acceleration on the rain, and corrcet the lights view

---
 A320-main.xml            | 2 +-
 Nasal/Sim/libraries.nas  | 4 ++--
 Systems/glass-effect.xml | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/A320-main.xml b/A320-main.xml
index 4ecbf14d..723e6698 100644
--- a/A320-main.xml
+++ b/A320-main.xml
@@ -45,7 +45,7 @@
 					<ice-inches>0.0</ice-inches>
 					<salvage-control>/controls/deice/windowprobeheat</salvage-control>
 					<sensitivity type="double">0.5</sensitivity>
-					<output-property>/environment/aircraft-effects/frost-inch</output-property>
+					<output-property>/environment/aircraft-effects/frost-level</output-property>
 				</iceable>
 				<iceable>
 					<name>Fuselage</name>
diff --git a/Nasal/Sim/libraries.nas b/Nasal/Sim/libraries.nas
index 416b44db..251f2ff0 100644
--- a/Nasal/Sim/libraries.nas
+++ b/Nasal/Sim/libraries.nas
@@ -841,14 +841,14 @@ var lightsView = func() {
 		}
 		
 		var hd = getprop("sim/current-view/heading-offset-deg");
-		var hd_t = 335;
+		var hd_t = 329;
 		if (hd < 180) {
 		  hd_t = hd_t - 360;
 		}
 		
 		interpolate("sim/current-view/field-of-view", 63, 0.66);
 		interpolate("sim/current-view/heading-offset-deg", hd_t, 0.66);
-		interpolate("sim/current-view/pitch-offset-deg", 10.6, 0.66);
+		interpolate("sim/current-view/pitch-offset-deg", 17.533, 0.66);
 		interpolate("sim/current-view/roll-offset-deg", 0, 0.66);
 		interpolate("sim/current-view/x-offset-m", -0.45, 0.66); 
 		interpolate("sim/current-view/y-offset-m", 2.34, 0.66); 
diff --git a/Systems/glass-effect.xml b/Systems/glass-effect.xml
index 62accb79..4022bc78 100644
--- a/Systems/glass-effect.xml
+++ b/Systems/glass-effect.xml
@@ -26,10 +26,10 @@
                 <table>
                     <independentVar>velocities/v-aero-fps</independentVar>
                     <tableData>
-                        -25 -0.5
+                        -25 -0.1
                         -8  0
                         8   0
-                        25  0.5
+                        25  0.1
                     </tableData>
                 </table>
             </function>