From 16ff95773d44dbcb754602b041b25c4dd85d3840 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Sun, 31 Aug 2003 22:39:05 +0000 Subject: [PATCH] holding a button while over a mine makes it explode --- stepmania/src/Player.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/stepmania/src/Player.cpp b/stepmania/src/Player.cpp index b6fa048950..7151a474bd 100644 --- a/stepmania/src/Player.cpp +++ b/stepmania/src/Player.cpp @@ -746,6 +746,20 @@ void PlayerMinus::CrossedRow( int iNoteRow ) if( GetTapNoteScore(t, iNoteRow) == TNS_NONE ) Step( t, now ); } + + // Hold the panel while crossing a mine will cause the mine to explode + for( int t=0; tGetCurrentStyleDef()->StyleInputToGameInput( StyleI ); + bool bIsHoldingButton = INPUTMAPPER->IsButtonDown( GameI ); + + if( bIsHoldingButton ) + Step( t, now ); + } + } } void PlayerMinus::RandomiseNotes( int iNoteRow )