From dd420c6ff417e7330cc4718cb5232ff9b7e51bec Mon Sep 17 00:00:00 2001 From: Henning Stahlke Date: Mon, 6 Feb 2017 19:47:41 +0100 Subject: [PATCH] YASim bugfix, correct an obvious copy-and-paste error --- src/FDM/YASim/Wing.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/FDM/YASim/Wing.cpp b/src/FDM/YASim/Wing.cpp index 898a96cba..34c056680 100644 --- a/src/FDM/YASim/Wing.cpp +++ b/src/FDM/YASim/Wing.cpp @@ -442,14 +442,14 @@ Surface* Wing::newSurface(float* pos, float* orient, float chord, s->setStallWidth(0, _stallWidth); s->setStallPeak(0, _stallPeak); - // The negative AoA stall is the same if we're using an uncambered - // airfoil, otherwise a "little badder". + // The negative AoA stall is the same if we're using an symmetric + // airfoil, otherwise a "little worse". if(_camber > 0) { s->setStall(1, stallAoA * 0.8f); s->setStallWidth(1, _stallWidth * 0.5f); } else { s->setStall(1, stallAoA); - s->setStall(1, _stallWidth); + s->setStallWidth(1, _stallWidth); } // The "reverse" stalls are unmeasurable junk. Just use 13deg and