This commit is contained in:
Glenn Maynard
2003-05-12 01:04:28 +00:00
parent 10eaf80cf4
commit 563f57ee0d
+7 -5
View File
@@ -820,14 +820,16 @@ void ScreenEvaluation::Update( float fDeltaTime )
if(RageTimer::GetTimeSinceStart() < m_fScreenCreateTime + m_TimeToPlayJudgeSound[l])
continue;
RageColor c;
c.a = 1;
if((SOUND_ON_FULL_ALPHA && (m_sprJudgeLabels[l].GetDiffuse().a == c.a || m_textJudgeNumbers[l][PLAYER_1].GetDiffuse().a == c.a || m_textJudgeNumbers[l][PLAYER_2].GetDiffuse().a == c.a) || !SOUND_ON_FULL_ALPHA) )
if(SOUND_ON_FULL_ALPHA)
{
m_soundJudgeSound[l].Play();
m_TimeToPlayJudgeSound[l] = -1;
if( m_sprJudgeLabels[l].GetDiffuse().a != 1.0f &&
m_textJudgeNumbers[l][PLAYER_1].GetDiffuse().a != 1.0f &&
m_textJudgeNumbers[l][PLAYER_2].GetDiffuse().a != 1.0f )
continue;
}
m_soundJudgeSound[l].Play();
m_TimeToPlayJudgeSound[l] = -1;
}
}