From 8916f58dae13bb82dd13222a9b47687acbcb2050 Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Mon, 28 Mar 2011 15:08:09 -0400 Subject: [PATCH] Allow numbers <= 0 to cancel Warp segments. --- src/ScreenEdit.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ScreenEdit.cpp b/src/ScreenEdit.cpp index 939b788890..febaaf9d22 100644 --- a/src/ScreenEdit.cpp +++ b/src/ScreenEdit.cpp @@ -2647,8 +2647,7 @@ void ScreenEdit::HandleScreenMessage( const ScreenMessage SM ) else if ( SM == SM_BackFromWarpChange ) { float fWarp = StringToFloat( ScreenTextEntry::s_sLastAnswer ); - if( fWarp > 0 ) - m_pSong->m_Timing.SetWarpAtBeat( GAMESTATE->m_fSongBeat, fWarp ); + m_pSong->m_Timing.SetWarpAtBeat( GAMESTATE->m_fSongBeat, fWarp ); SetDirty( true ); } else if( SM == SM_BackFromBGChange )