no message

This commit is contained in:
Matt Denham
2004-02-29 05:32:08 +00:00
parent daaa6eeea6
commit c3cd56b96f
+1 -1
View File
@@ -303,7 +303,7 @@ void NoteDisplay::SetActiveFrame( float fNoteBeat, Actor &actorToSet, float fAni
if( bVivid )
// changed to deal with the minor complaint that the color cycling is
// one tick off in general
iFrameNo += (int)( froundf((fNoteBeatFraction - 0.75f/fAnimationLengthInBeats),1.f/fAnimationLengthInBeats)*iNumFrames );
iFrameNo += (int)( froundf((fNoteBeatFraction - 0.25f/fAnimationLengthInBeats),1.f/fAnimationLengthInBeats)*iNumFrames );
// just in case somehow we're majorly negative with the subtraction
iFrameNo += (iNumFrames * 2);