diff --git a/stepmania/src/ScreenEdit.cpp b/stepmania/src/ScreenEdit.cpp index 2e3d2a3363..fd9b0ee51e 100644 --- a/stepmania/src/ScreenEdit.cpp +++ b/stepmania/src/ScreenEdit.cpp @@ -709,7 +709,7 @@ void ScreenEdit::InputEdit( const DeviceInput& DeviceI, const InputEventType typ } GAMESTATE->m_fSongBeat += fBeatsToMove; - GAMESTATE->m_fSongBeat = clamp( GAMESTATE->m_fSongBeat, 0, MAX_BEATS-1 ); + GAMESTATE->m_fSongBeat = max( GAMESTATE->m_fSongBeat, 0 ); GAMESTATE->m_fSongBeat = froundf( GAMESTATE->m_fSongBeat, NoteTypeToBeat(m_SnapDisplay.GetNoteType()) ); m_soundChangeLine.Play(); }