Allow numbers <= 0 to cancel Warp segments.
This commit is contained in:
@@ -2647,7 +2647,6 @@ void ScreenEdit::HandleScreenMessage( const ScreenMessage SM )
|
|||||||
else if ( SM == SM_BackFromWarpChange )
|
else if ( SM == SM_BackFromWarpChange )
|
||||||
{
|
{
|
||||||
float fWarp = StringToFloat( ScreenTextEntry::s_sLastAnswer );
|
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 );
|
SetDirty( true );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user