fix undeclared variable

master
Alexsandro Percy 2022-05-25 21:11:16 -03:00
parent 75074f311c
commit b709091d7a
1 changed files with 1 additions and 0 deletions

View File

@ -708,6 +708,7 @@ function ju52.flightstep(self)
end
-- pitch
local newpitch = pitch
if airutils.get_plane_pitch then
newpitch = airutils.get_plane_pitch(velocity, longit_speed, ju52.min_speed, self._angle_of_attack)
end