From: andy Date: Thu, 6 May 2004 16:28:08 +0000 (+0000) Subject: Fix from Melchior: It replaces the ridiculous 5 seconds by X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=aadb3cb94f6c837b852ad4fe6c9ff0473b67785b;p=flightgear.git Fix from Melchior: It replaces the ridiculous 5 seconds by 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). --- diff --git a/src/FDM/YASim/Rotor.cpp b/src/FDM/YASim/Rotor.cpp index 4019ba622..142ff75eb 100644 --- a/src/FDM/YASim/Rotor.cpp +++ b/src/FDM/YASim/Rotor.cpp @@ -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;