From fd17bb2abb2d77454ef405041916bb456ff37067 Mon Sep 17 00:00:00 2001 From: Alexsandro Percy Date: Tue, 20 Apr 2021 12:01:19 -0300 Subject: [PATCH] lift adjusted --- hidroplane_utilities.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hidroplane_utilities.lua b/hidroplane_utilities.lua index c9ad11a..a7536d6 100644 --- a/hidroplane_utilities.lua +++ b/hidroplane_utilities.lua @@ -59,7 +59,7 @@ function hidroplane.getLiftAccel(self, velocity, accel, longit_speed, roll, curr local max_height = 15000 local retval = accel - if longit_speed then + if longit_speed > 0 then local angle_of_attack = math.rad(self._angle_of_attack + hidroplane.wing_angle_of_attack) local lift = 12 --local acc = 0.8