From 7110ccd5ef34ebdd8862c3827a3d15cb055a4291 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sat, 8 Jan 2022 13:48:09 +0100 Subject: [PATCH] Delete obsolete patch --- patches/02_adjust-helicopter-consumption-height.patch | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 patches/02_adjust-helicopter-consumption-height.patch diff --git a/patches/02_adjust-helicopter-consumption-height.patch b/patches/02_adjust-helicopter-consumption-height.patch deleted file mode 100644 index 7ffc04b..0000000 --- a/patches/02_adjust-helicopter-consumption-height.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/helicopter/heli_control.lua -+++ b/helicopter/heli_control.lua -@@ -157,7 +157,7 @@ function helicopter.heli_control(self, d - local altitude_consumption_variable = 0 - - -- if gaining altitude, it consumes more power -- local y_pos_reference = position.y - 200 --after altitude 200 the power need will increase -+ local y_pos_reference = position.y - 400 --after altitude 200 the power need will increase - if y_pos_reference > 0 then altitude_consumption_variable = ((y_pos_reference/1000)^2) end - - local consumed_power = (power/1500) + altitude_consumption_variable