From 5126e21377566a4ff6207a0add361e08e8aeb5eb Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Fri, 25 Mar 2011 17:48:05 -0400 Subject: [PATCH] [warps] do validation in SetWarpAtRow, not here. --- src/ScreenEdit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ScreenEdit.cpp b/src/ScreenEdit.cpp index 6c09391967..d11c08f2bc 100644 --- a/src/ScreenEdit.cpp +++ b/src/ScreenEdit.cpp @@ -2644,7 +2644,7 @@ void ScreenEdit::HandleScreenMessage( const ScreenMessage SM ) else if ( SM == SM_BackFromWarpChange ) { float fWarp = StringToFloat( ScreenTextEntry::s_sLastAnswer ); - if( fWarp > GAMESTATE->m_fSongBeat ) + if( fWarp > 0 ) m_pSong->m_Timing.SetWarpAtBeat( GAMESTATE->m_fSongBeat, fWarp ); SetDirty( true ); }