[splittiming] input fixes
This commit is contained in:
+12
-1
@@ -2787,9 +2787,19 @@ void ScreenEdit::HandleScreenMessage( const ScreenMessage SM )
|
|||||||
SetDirty( true );
|
SetDirty( true );
|
||||||
}
|
}
|
||||||
else if ( SM == SM_BackFromSpeedModeChange )
|
else if ( SM == SM_BackFromSpeedModeChange )
|
||||||
|
{
|
||||||
|
if( ScreenTextEntry::s_sLastAnswer.substr(0, 1) == "b" || ScreenTextEntry::s_sLastAnswer.substr(0, 1) == "B" )
|
||||||
|
{
|
||||||
|
GetAppropriateTiming().SetSpeedModeAtBeat( GetBeat(), 0 );
|
||||||
|
}
|
||||||
|
else if( ScreenTextEntry::s_sLastAnswer.substr(0, 1) == "s" || ScreenTextEntry::s_sLastAnswer.substr(0, 1) == "S" )
|
||||||
|
{
|
||||||
|
GetAppropriateTiming().SetSpeedModeAtBeat( GetBeat(), 1 );
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
int tmp = StringToInt(ScreenTextEntry::s_sLastAnswer );
|
int tmp = StringToInt(ScreenTextEntry::s_sLastAnswer );
|
||||||
if( tmp == 0 || ScreenTextEntry::s_sLastAnswer.substr(0, 1) == "b" || ScreenTextEntry::s_sLastAnswer.substr(0, 1) == "B" )
|
if( tmp == 0 )
|
||||||
{
|
{
|
||||||
GetAppropriateTiming().SetSpeedModeAtBeat( GetBeat(), 0 );
|
GetAppropriateTiming().SetSpeedModeAtBeat( GetBeat(), 0 );
|
||||||
}
|
}
|
||||||
@@ -2797,6 +2807,7 @@ void ScreenEdit::HandleScreenMessage( const ScreenMessage SM )
|
|||||||
{
|
{
|
||||||
GetAppropriateTiming().SetSpeedModeAtBeat( GetBeat(), 1 );
|
GetAppropriateTiming().SetSpeedModeAtBeat( GetBeat(), 1 );
|
||||||
}
|
}
|
||||||
|
}
|
||||||
SetDirty( true );
|
SetDirty( true );
|
||||||
}
|
}
|
||||||
else if ( SM == SM_BackFromFakeChange )
|
else if ( SM == SM_BackFromFakeChange )
|
||||||
|
|||||||
Reference in New Issue
Block a user