fix warning
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user