[warps] do validation in SetWarpAtRow, not here.

This commit is contained in:
Jason Felds
2011-03-25 17:48:05 -04:00
parent c8a6f4c41d
commit 5126e21377
+1 -1
View File
@@ -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 );
}