fix warning

This commit is contained in:
Glenn Maynard
2005-06-16 03:07:30 +00:00
parent 533d773bd0
commit 11bc71c826
+1 -1
View File
@@ -1132,7 +1132,7 @@ float ScreenGameplay::StartPlayingSong(float MinTimeToNotes, float MinTimeToMusi
p.m_StartSecond = fStartSecond;
// Silence music if not playing attract sounds in demonstration.
p.m_Volume = (!GAMESTATE->m_bDemonstrationOrJukebox || GAMESTATE->IsTimeToPlayAttractSounds()) ? 1 : 0;
p.m_Volume = (!GAMESTATE->m_bDemonstrationOrJukebox || GAMESTATE->IsTimeToPlayAttractSounds()) ? 1.0f : 0.0f;
ASSERT( !m_pSoundMusic->IsPlaying() );
m_pSoundMusic->Play( &p );