Aircraft/Generic/limits.nas: Added a missing var-keyword.
This commit is contained in:
parent
005fdadbcf
commit
97ffa8c171
1 changed files with 1 additions and 1 deletions
|
@ -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) )
|
||||||
|
|
Loading…
Reference in a new issue