diff --git a/builder/mods_src/tools/hidroplane b/builder/mods_src/tools/hidroplane index c265a383..39bd2340 160000 --- a/builder/mods_src/tools/hidroplane +++ b/builder/mods_src/tools/hidroplane @@ -1 +1 @@ -Subproject commit c265a383ead76b96f28898d8c0d6f2c477be848a +Subproject commit 39bd23407f95669d587a611150de8aeeb5610628 diff --git a/mods/tools/hidroplane/depends.txt b/mods/tools/hidroplane/depends.txt index f266071d..59ac2cbf 100644 --- a/mods/tools/hidroplane/depends.txt +++ b/mods/tools/hidroplane/depends.txt @@ -1,3 +1,3 @@ -mobkit -default -biofuel +mobkit +default +biofuel diff --git a/mods/tools/hidroplane/hidroplane_utilities.lua b/mods/tools/hidroplane/hidroplane_utilities.lua index 681d9b55..2d66440d 100644 --- a/mods/tools/hidroplane/hidroplane_utilities.lua +++ b/mods/tools/hidroplane/hidroplane_utilities.lua @@ -609,6 +609,12 @@ function hidroplane.flightstep(self) end -- end lift + --wind effects + if longit_speed > 1.5 and airutils.wind then + local wind = airutils.get_wind(curr_pos, 0.1) + new_accel = vector.add(new_accel, wind) + end + if stop ~= true then self._last_accell = new_accel elseif stop == false then