fix crash on holdarrows -_-

This commit is contained in:
Andrew Livy
2003-06-03 22:00:18 +00:00
parent efb49096a8
commit 1900979e46
+2 -1
View File
@@ -400,7 +400,8 @@ void NoteDisplay::DrawHold( const HoldNote& hn, const bool bActive, const float
const float fYTail = bReverse ? fStartYPos : fEndYPos; // the center the tail
const bool bWavy = GAMESTATE->m_PlayerOptions[m_PlayerNumber].m_fEffects[PlayerOptions::EFFECT_DRUNK] > 0;
const int fYStep = bWavy ? 16;// causes crash w/ some NoteSkins : 128; // use small steps only if wavy
const int fYStep = bWavy ? 16 : 16;// causes crash w/ some NoteSkins : 128; // use small steps only if wavy
// If you don't include the 128 you can't compile this code!!!!!!! - Andy.
const float fColorScale = 1*fLife + (1-fLife)*cache->m_fHoldNGGrayPercent;