1
0
Fork 0

tyresmoke: s/getNode/getChild/

This commit is contained in:
mfranz 2008-10-05 23:35:02 +00:00
parent c56653d203
commit 757b64a2c3

View file

@ -911,7 +911,7 @@ var tyresmoke = {
m.vertical_speed = props.globals.getNode("velocities/vertical-speed-fps", 1);
m.speed = props.globals.getNode("velocities/groundspeed-kt", 1);
var gear = props.globals.getNode("gear/gear", number);
var gear = props.globals.getNode("gear", 1).getChild("gear", number, 1);
m.wow = props.initNode(gear.getNode("wow", 1));
m.tyresmoke = props.initNode(gear.getNode("tyre-smoke", 1), 0, "BOOL");
m.friction_factor = props.initNode(gear.getNode("ground-friction-factor", 1), 1);