From d561eecb17f01b31c8cdb78c3cc9ff14a5de3732 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 11 Jan 2007 02:51:58 +0000 Subject: [PATCH] clarify --- stepmania/src/NoteDisplay.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/NoteDisplay.cpp b/stepmania/src/NoteDisplay.cpp index 4893d0b01e..c964f87d3e 100644 --- a/stepmania/src/NoteDisplay.cpp +++ b/stepmania/src/NoteDisplay.cpp @@ -600,7 +600,7 @@ void NoteDisplay::DrawHold( const TapNote &tn, int iCol, int iRow, bool bIsBeing const float fYHead = fStartYPos; // the center of the head const float fYTail = fEndYPos; // the center the tail - const float fColorScale = tn.HoldResult.fLife + (1-tn.HoldResult.fLife)*cache->m_fHoldLetGoGrayPercent; + const float fColorScale = SCALE( tn.HoldResult.fLife, 0.0f, 1.0f, cache->m_fHoldLetGoGrayPercent, 1.0f ); bool bFlipHeadAndTail = bReverse && cache->m_bFlipHeadAndTailWhenReverse;