From c70c6baf30d173f88fa4df39e257538d0d377800 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 3 Nov 2002 01:49:13 +0000 Subject: [PATCH] remove more magic constants --- stepmania/src/ScreenEdit.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stepmania/src/ScreenEdit.cpp b/stepmania/src/ScreenEdit.cpp index e1b0af6477..15728bf17e 100644 --- a/stepmania/src/ScreenEdit.cpp +++ b/stepmania/src/ScreenEdit.cpp @@ -734,10 +734,10 @@ void ScreenEdit::InputEdit( const DeviceInput& DeviceI, const InputEventType typ if( !bRemovedAHoldNote ) { // We didn't remove a HoldNote, so the user wants to add or delete a TapNote - if( m_NoteFieldEdit.GetTapNote(iCol, iSongIndex) == '0' ) - m_NoteFieldEdit.SetTapNote(iCol, iSongIndex, '1'); + if( m_NoteFieldEdit.GetTapNote(iCol, iSongIndex) == TAP_EMPTY ) + m_NoteFieldEdit.SetTapNote(iCol, iSongIndex, TAP_TAP ); else - m_NoteFieldEdit.SetTapNote(iCol, iSongIndex, '0'); + m_NoteFieldEdit.SetTapNote(iCol, iSongIndex, TAP_EMPTY ); } } break;