From ddab166dad1e004fdf39eec6000418014ebc1ffa Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Fri, 21 Jan 2005 06:47:50 +0000 Subject: [PATCH] fix "can't lay mines" --- stepmania/src/ScreenEdit.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/stepmania/src/ScreenEdit.cpp b/stepmania/src/ScreenEdit.cpp index 3619fd4b58..8f5bf16936 100644 --- a/stepmania/src/ScreenEdit.cpp +++ b/stepmania/src/ScreenEdit.cpp @@ -895,13 +895,11 @@ void ScreenEdit::InputEdit( const DeviceInput& DeviceI, const InputEventType typ m_NoteFieldEdit.SetTapNote( iCol, iSongIndex, TAP_EMPTY ); return; } - - // Hold LShift to lay mine, hold RShift to lay an attack - if( EditIsBeingPressed(EDIT_BUTTON_LAY_MINE) ) + else if( EditIsBeingPressed(EDIT_BUTTON_LAY_MINE) ) { m_NoteFieldEdit.SetTapNote(iCol, iSongIndex, TAP_ORIGINAL_MINE ); } - if( EditIsBeingPressed(EDIT_BUTTON_LAY_ATTACK) ) + else if( EditIsBeingPressed(EDIT_BUTTON_LAY_ATTACK) ) { g_iLastInsertAttackTrack = iCol; SCREENMAN->MiniMenu( &g_InsertAttack, SM_BackFromInsertAttack );