[splittiming] Convert properly.

This commit is contained in:
Jason Felds
2011-05-14 20:04:33 -04:00
parent 5a06315926
commit 574fee596e
+1 -1
View File
@@ -41,7 +41,7 @@ bool SMALoader::LoadFromDir( const RString &sPath, Song &out )
float SMALoader::RowToBeat( RString sLine, const int iRowsPerBeat )
{
if( sLine.Right(0).MakeUpper() == "R" )
if( sLine.find("R") || sLine.find("r") )
{
sLine = sLine.Left(sLine.size()-1);
return StringToFloat( sLine ) / iRowsPerBeat;