[splittiming] Allow songs to start with 0+ SPEED.
Somehow, this just screams gimmickry.
This commit is contained in:
@@ -321,7 +321,7 @@ void SMALoader::ProcessSpeeds( TimingData &out, const int iRowsPerBeat, const RS
|
|||||||
vector<RString> vs2;
|
vector<RString> vs2;
|
||||||
split( *s1, "=", vs2 );
|
split( *s1, "=", vs2 );
|
||||||
|
|
||||||
if( RowToBeat(vs2[0], iRowsPerBeat) == 0 ) // First one always seems to have 2.
|
if( RowToBeat(vs2[0], iRowsPerBeat) == 0 && vs2.size() == 2 ) // First one always seems to have 2.
|
||||||
{
|
{
|
||||||
vs2.push_back("0");
|
vs2.push_back("0");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -140,12 +140,12 @@ void SSCLoader::ProcessSpeeds( TimingData &out, const RString sParam )
|
|||||||
vector<RString> vs2;
|
vector<RString> vs2;
|
||||||
split( *s1, "=", vs2 );
|
split( *s1, "=", vs2 );
|
||||||
|
|
||||||
if( vs2[0] == 0 ) // First one always seems to have 2.
|
if( vs2[0] == 0 && vs2.size() == 2 ) // First one always seems to have 2.
|
||||||
{
|
{
|
||||||
vs2.push_back("0");
|
vs2.push_back("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
if( vs2.size() == 3 )
|
if( vs2.size() == 3 ) // use beats by default.
|
||||||
{
|
{
|
||||||
vs2.push_back("0");
|
vs2.push_back("0");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user