1
0
Fork 0

Fix a long standing bug in a code path that is probably executed very rarely.

This commit is contained in:
curt 2007-06-26 21:29:59 +00:00
parent bb413bf3e2
commit 50c7a31de8

View file

@ -103,7 +103,7 @@ FGPIDController::FGPIDController( SGPropertyNode *node ):
} else {
prop = child->getChild( "value" );
if ( prop != NULL ) {
r_n = prop->getDoubleValue();
r_n_value = prop->getDoubleValue();
}
}
prop = child->getChild( "scale" );
@ -422,7 +422,7 @@ FGPISimpleController::FGPISimpleController( SGPropertyNode *node ):
} else {
prop = child->getChild( "value" );
if ( prop != NULL ) {
r_n = prop->getDoubleValue();
r_n_value = prop->getDoubleValue();
}
}
prop = child->getChild( "scale" );