1
0
Fork 0

Aircraft/Generic/limits.nas: Added a missing var-keyword.

This commit is contained in:
Anders Gidenstam 2012-01-17 21:00:52 +01:00
parent 005fdadbcf
commit 97ffa8c171

View file

@ -30,7 +30,7 @@ var checkFlaps = func(n) {
if ((limits != nil) and (limits.getChildren("max-flap-extension-speed") != nil)) if ((limits != nil) and (limits.getChildren("max-flap-extension-speed") != nil))
{ {
var children = limits.getChildren("max-flap-extension-speed"); var children = limits.getChildren("max-flap-extension-speed");
foreach(c; children) foreach(var c; children)
{ {
if ((c.getChild("flaps") != nil) and if ((c.getChild("flaps") != nil) and
(c.getChild("speed") != nil) ) (c.getChild("speed") != nil) )