Added MuteActions preference checking to RageSound::PlayCopy. Modified ActorSound and GameSoundManager::PlayOnce to take is_action args. Fixed doc for playcommand to mention the param table.

This commit is contained in:
Kyzentun
2015-04-08 16:15:14 -06:00
parent 84b57e7ca4
commit 8993cfe729
16 changed files with 58 additions and 18 deletions
+2 -2
View File
@@ -925,7 +925,7 @@ bool ScreenSelectMaster::MenuStart( const InputEventPlus &input )
// double press is enabled and the player hasn't made their first press
if(DOUBLE_PRESS_TO_SELECT && !m_bDoubleChoice[pn])
{
m_soundStart.PlayCopy();
m_soundStart.PlayCopy(true);
m_bDoubleChoice[pn] = true;
if(SHOW_SCROLLER)
@@ -954,7 +954,7 @@ bool ScreenSelectMaster::MenuStart( const InputEventPlus &input )
// Play a copy of the sound, so it'll finish playing even if we leave the screen immediately.
if( mc->m_sSoundPath.empty() && !m_bDoubleChoiceNoSound )
m_soundStart.PlayCopy();
m_soundStart.PlayCopy(true);
if( mc->m_sScreen.empty() )
{