]> git.mxchange.org Git - flightgear.git/commitdiff
Fix from Melchior: It replaces the ridiculous 5 seconds by
authorandy <andy>
Thu, 6 May 2004 16:28:08 +0000 (16:28 +0000)
committerandy <andy>
Thu, 6 May 2004 16:28:08 +0000 (16:28 +0000)
the 30 seconds that Maik had originally intended, according to the comment.
This is important for the pending sound and rotor disc changes (and of course
for realism).

src/FDM/YASim/Rotor.cpp

index 4019ba6229edf0851a5998be827f24f767ec2a4b..142ff75eb942ec404e5d4539eacc6d8a24ab5a08 100644 (file)
@@ -92,7 +92,7 @@ void Rotor::inititeration(float dt)
 {
    if ((_engineon)&&(_omegarel>=1)) return;
    if ((!_engineon)&&(_omegarel<=0)) return;
-   _omegarel+=dt*1/5.*(_engineon?1:-1); //hier 30
+   _omegarel+=dt*1/30.*(_engineon?1:-1);
    _omegarel=Math::clamp(_omegarel,0,1);
    _omega=_omegan*_omegarel;
    int i;