fix crash

This commit is contained in:
Glenn Maynard
2003-04-26 06:06:24 +00:00
parent 779ed644d0
commit c2302b3776
+2 -1
View File
@@ -601,7 +601,8 @@ void ScreenEdit::InputEdit( const DeviceInput& DeviceI, const InputEventType typ
if( type != IET_FIRST_PRESS )
break; // We only care about first presses
int iCol = DeviceI.button - SDLK_1;
const int iCol = DeviceI.button == SDLK_0? 9: DeviceI.button - SDLK_1;
const float fSongBeat = GAMESTATE->m_fSongBeat;
const int iSongIndex = BeatToNoteRow( fSongBeat );