1
0
Fork 0

Fix for issue 1400 (YASim slats always give full stall enhancement)

Surface::stallFunc() now scales _slatAlpha by _slatPos when adjusting stallAlpha.
This commit is contained in:
Colin Douglas Howell 2014-03-22 12:11:39 -07:00
parent 527eb9d444
commit 8a9ce0ccf7

View file

@ -281,7 +281,7 @@ float Surface::stallFunc(float* v)
return 1;
if(i == 0)
stallAlpha += _slatAlpha;
stallAlpha += _slatPos * _slatAlpha;
// Beyond the stall
if(alpha > stallAlpha+_widths[i])