[editorKeysounds] No KSes in this mode, thanks.

This commit is contained in:
Jason Felds
2012-02-11 15:16:34 -05:00
parent 4151f20327
commit baae57d9d5
+8 -5
View File
@@ -2990,13 +2990,16 @@ void Player::CrossedRows( int iLastRowCrossed, const RageTimer &now )
}
}
// handle autokeysounds here.
for (int t = 0; t < m_NoteData.GetNumTracks(); ++t)
// handle autokeysounds here (if not in the editor).
if (!GAMESTATE->m_bInStepEditor)
{
const TapNote &tap = m_NoteData.GetTapNote(t, iRow);
if (tap.type == TapNote::autoKeysound)
for (int t = 0; t < m_NoteData.GetNumTracks(); ++t)
{
PlayKeysound(tap, TNS_None);
const TapNote &tap = m_NoteData.GetTapNote(t, iRow);
if (tap.type == TapNote::autoKeysound)
{
PlayKeysound(tap, TNS_None);
}
}
}
}