[splittiming] allow b, B, beat, basically anything that begins with a 'b' to be recognized as beats here.

This commit is contained in:
Thai Pangsakulyanont
2011-05-16 22:39:02 +07:00
parent b40bae924e
commit cb71d0a4c5
+1 -1
View File
@@ -2787,7 +2787,7 @@ void ScreenEdit::HandleScreenMessage( const ScreenMessage SM )
else if ( SM == SM_BackFromSpeedModeChange )
{
int tmp = StringToInt(ScreenTextEntry::s_sLastAnswer );
if( tmp == 0 )
if( tmp == 0 || ScreenTextEntry::s_sLastAnswer.substr(0, 1) == "b" || ScreenTextEntry::s_sLastAnswer.substr(0, 1) == "B" )
{
GetAppropriateTiming().SetSpeedModeAtBeat( GetBeat(), 0 );
}