Make sure record never sets a negative note.

Make sure escape doesn't do anything else when exiting from record.
This commit is contained in:
Glenn Maynard
2002-10-18 02:02:53 +00:00
parent 1ca0f1f719
commit 5b2aee2420
+3 -1
View File
@@ -1192,7 +1192,7 @@ void ScreenEdit::InputRecord( const DeviceInput& DeviceI, const InputEventType t
{
case DIK_ESCAPE:
TransitionFromRecordToEdit();
break;
return;
}
}
switch( StyleI.player )
@@ -1203,6 +1203,8 @@ void ScreenEdit::InputRecord( const DeviceInput& DeviceI, const InputEventType t
int iNoteIndex;
iNoteIndex = BeatToNoteRow( GAMESTATE->m_fSongBeat );
if(iNoteIndex < 0)
break;
if( type == IET_FIRST_PRESS )
{