1
0
Fork 0

Bugfix for aircraft.nas: declare missing member variable

This commit is contained in:
Henning 2021-12-04 14:47:22 +01:00
parent d4bd49f5f9
commit 28e865f1e6

View file

@ -816,7 +816,10 @@ var autotrim = {
#
var tyresmoke = {
new: func(number, auto = 0, diff_norm = 0.05, check_vspeed=1, rain_norm_trigger=0.2) {
var m = { parents: [tyresmoke] };
var m = {
parents: [tyresmoke],
filtered_touchdown: 0
};
m.vertical_speed = (!check_vspeed) ? nil : props.globals.initNode("velocities/vertical-speed-fps");
m.diff_norm = diff_norm;
m.speed = props.globals.initNode("velocities/groundspeed-kt");