Added debug key for toggling action sounds off. Touches every place that RageSound::Play is called, hope I didn't miss one.
This commit is contained in:
+4
-4
@@ -316,7 +316,7 @@ void EditMenu::Up()
|
||||
} while (!RowIsSelectable(dest));
|
||||
ASSERT( dest >= 0 );
|
||||
ChangeToRow( dest );
|
||||
m_soundChangeRow.Play();
|
||||
m_soundChangeRow.Play(true);
|
||||
}
|
||||
|
||||
void EditMenu::Down()
|
||||
@@ -328,7 +328,7 @@ void EditMenu::Down()
|
||||
} while (!RowIsSelectable(dest));
|
||||
ASSERT( dest < NUM_EditMenuRow );
|
||||
ChangeToRow( dest );
|
||||
m_soundChangeRow.Play();
|
||||
m_soundChangeRow.Play(true);
|
||||
}
|
||||
|
||||
void EditMenu::Left()
|
||||
@@ -338,7 +338,7 @@ void EditMenu::Left()
|
||||
m_iSelection[m_SelectedRow]--;
|
||||
wrap( m_iSelection[m_SelectedRow], GetRowSize(m_SelectedRow) );
|
||||
OnRowValueChanged( m_SelectedRow );
|
||||
m_soundChangeValue.Play();
|
||||
m_soundChangeValue.Play(true);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -349,7 +349,7 @@ void EditMenu::Right()
|
||||
m_iSelection[m_SelectedRow]++;
|
||||
wrap( m_iSelection[m_SelectedRow], GetRowSize(m_SelectedRow) );
|
||||
OnRowValueChanged( m_SelectedRow );
|
||||
m_soundChangeValue.Play();
|
||||
m_soundChangeValue.Play(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user