Skip to content

Commit

Permalink
Update hidroplane from upstream.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazerbeak12345 committed Mar 3, 2023
1 parent 9ef81ad commit e9e4804
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion builder/mods_src/tools/hidroplane
6 changes: 3 additions & 3 deletions mods/tools/hidroplane/depends.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
mobkit
default
biofuel
mobkit
default
biofuel
6 changes: 6 additions & 0 deletions mods/tools/hidroplane/hidroplane_utilities.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e9e4804

Please sign in to comment.