From aadb3cb94f6c837b852ad4fe6c9ff0473b67785b Mon Sep 17 00:00:00 2001 From: andy Date: Thu, 6 May 2004 16:28:08 +0000 Subject: [PATCH] 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). --- src/FDM/YASim/Rotor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;