fix hold body and cap misalignment in reverse and FlipHeadAndTailWhenReverse=1

This commit is contained in:
Chris Danford
2004-01-01 00:03:14 +00:00
parent 856ddb7878
commit d338fcaa82
+3
View File
@@ -859,8 +859,11 @@ void NoteDisplay::DrawHold( const HoldNote& hn, const bool bActive, const float
else
DISPLAY->SetTextureModeModulate();
DISPLAY->SetZBuffer( WavyPartsNeedZBuffer );
if( !bFlipHeadAndTail )
DrawHoldBottomCap( hn, bActive, fYHead, fYTail, fYStep, iCol, fPercentFadeToFail, fColorScale, bDrawGlowOnly );
DrawHoldBody( hn, bActive, fYHead, fYTail, fYStep, iCol, fPercentFadeToFail, fColorScale, bDrawGlowOnly );
if( bFlipHeadAndTail )
DrawHoldTopCap( hn, bActive, fYHead, fYTail, fYStep, iCol, fPercentFadeToFail, fColorScale, bDrawGlowOnly );
/* These set the texture mode themselves. */