Fix #1771, wrong groundspeed indication for UFO
This commit is contained in:
parent
36113bf69d
commit
14b97abd8f
2 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ void FGMagicCarpet::update( double dt ) {
|
|||
double kts = speed * SG_METER_TO_NM * 3600.0;
|
||||
_set_V_equiv_kts( kts );
|
||||
_set_V_calibrated_kts( kts );
|
||||
_set_V_ground_speed( kts );
|
||||
set_V_ground_speed_kt( kts );
|
||||
|
||||
// angle of turn
|
||||
double turn_rate = globals->get_controls()->get_aileron() * SGD_PI_4; // radians/sec
|
||||
|
|
|
@ -146,7 +146,7 @@ void FGUFO::update( double dt ) {
|
|||
double kts = velocity * SG_METER_TO_NM * 3600.0;
|
||||
_set_V_equiv_kts( kts );
|
||||
_set_V_calibrated_kts( kts );
|
||||
_set_V_ground_speed( kts );
|
||||
set_V_ground_speed_kt( kts );
|
||||
|
||||
// angle of turn
|
||||
double turn_rate = sin(roll) * SGD_PI_4; // radians/sec
|
||||
|
|
Loading…
Add table
Reference in a new issue