fix mini when not in 0..1

This commit is contained in:
Glenn Maynard
2005-10-22 23:31:12 +00:00
parent 4410080639
commit 025b671698
3 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -496,7 +496,7 @@ void Player::Update( float fDeltaTime )
float fMiniPercent = m_pPlayerState->m_CurrentPlayerOptions.m_fEffects[PlayerOptions::EFFECT_MINI];
float fJudgmentZoom = 1 - fMiniPercent*0.25f;
float fJudgmentZoom = min( powf(0.25f, fMiniPercent), 1.0f );
if( m_pJudgment )
m_pJudgment->SetZoom( m_pJudgment->GetZoom() * fJudgmentZoom );
if( m_sprJudgmentFrame.IsLoaded() )