confusion mod fix

This commit is contained in:
Mike Hawkins
2008-05-08 04:32:06 +00:00
parent 82e729afe5
commit 8a66c9b0f7
2 changed files with 3 additions and 7 deletions
+3 -4
View File
@@ -442,12 +442,11 @@ float ArrowEffects::ReceptorGetRotation( const PlayerState* pPlayerState )
const float* fEffects = pPlayerState->m_PlayerOptions.GetCurrent().m_fEffects;
// Confusion
if( fEffects[PlayerOptions::EFFECT_DIZZY] == 0 && fEffects[PlayerOptions::EFFECT_CONFUSION] != 0 )
if( fEffects[PlayerOptions::EFFECT_CONFUSION] != 0 )
{
const float fSongBeat = GAMESTATE->m_fSongBeatVisible;
float fConfRotation = fNoteBeat - fSongBeat;
float fConfRotation = GAMESTATE->m_fSongBeatVisible;
fConfRotation *= fEffects[PlayerOptions::EFFECT_CONFUSION];
fConfRotation = fmodf( fDizzyRotation, 2*PI );
fConfRotation = fmodf( fConfRotation, 2*PI );
fConfRotation *= -180/PI;
return fConfRotation;
}
-3
View File
@@ -118,10 +118,7 @@ void BPMDisplay::SetBPMRange( const DisplayBpms &bpms )
if( MinBPM == MaxBPM )
{
if( MinBPM == -1 )
{
SetText( "..." ); // random
IsRandom = true;
}
else
SetText( ssprintf("%i", MinBPM) );
}