From: andy Date: Mon, 23 Feb 2009 20:17:56 +0000 (+0000) Subject: Patch from Maik: as helijah found out, there was a bug within the rotor simulation. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8b98937e4d048c6211be5fd8c9f5672f2718a903;p=flightgear.git Patch from Maik: as helijah found out, there was a bug within the rotor simulation. --- diff --git a/src/FDM/YASim/Rotor.cpp b/src/FDM/YASim/Rotor.cpp index 413984a81..96be4cfff 100644 --- a/src/FDM/YASim/Rotor.cpp +++ b/src/FDM/YASim/Rotor.cpp @@ -830,6 +830,7 @@ void Rotor::calcLiftFactor(float* v, float rho, State *s) //store the gravity direction Glue::geodUp(s->pos, _grav_direction); + s->velGlobalToLocal(_grav_direction, _grav_direction); } void Rotor::findGroundEffectAltitude(Ground * ground_cb,State *s)