back out HoldNote step optimization

This commit is contained in:
Chris Danford
2003-06-02 17:34:41 +00:00
parent 49a5b67453
commit f32d40e07c
+1 -1
View File
@@ -400,7 +400,7 @@ 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 : 128; // use small steps only if wavy
const int fYStep = bWavy ? 16;// causes crash w/ some NoteSkins : 128; // use small steps only if wavy
const float fColorScale = 1*fLife + (1-fLife)*cache->m_fHoldNGGrayPercent;