From 54a6a1a130db032d0e0c4a6e7c930cafd7b879d6 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 1 Mar 2005 15:14:03 +0000 Subject: [PATCH] play keys --- stepmania/src/Player.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/stepmania/src/Player.cpp b/stepmania/src/Player.cpp index c2f399dc5f..7ad928e5fb 100644 --- a/stepmania/src/Player.cpp +++ b/stepmania/src/Player.cpp @@ -892,7 +892,10 @@ void Player::HandleStep( int col, const RageTimer &tm ) if( score == TNS_HIT_MINE ) { - m_soundMine.Play(); + if( tn.bKeysound ) + m_vKeysounds[tn.iKeysoundIndex].Play(); + else + m_soundMine.Play(); if( m_pLifeMeter ) m_pLifeMeter->ChangeLife( score );