Fix maximum speed bug.
This commit is contained in:
parent
5a849b66e8
commit
e1c2a95f2f
2 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ void FGMagicCarpet::update( double dt ) {
|
|||
|
||||
int multiloop = _calc_multiloop(dt);
|
||||
|
||||
double time_step = dt * multiloop;
|
||||
double time_step = dt;
|
||||
|
||||
// speed and distance traveled
|
||||
double speed = globals->get_controls()->get_throttle( 0 ) * 2000; // meters/sec
|
||||
|
|
|
@ -64,7 +64,7 @@ void FGUFO::update( double dt ) {
|
|||
|
||||
int multiloop = _calc_multiloop(dt);
|
||||
|
||||
double time_step = dt * multiloop;
|
||||
double time_step = dt;
|
||||
|
||||
// read the throttle
|
||||
double th = globals->get_controls()->get_throttle( 0 );
|
||||
|
|
Loading…
Add table
Reference in a new issue