Spacing cleanup.
This commit is contained in:
@@ -158,7 +158,7 @@ bool CourseLoaderCRS::LoadFromMsd( const RString &sPath, const MsdFile &msd, Cou
|
|||||||
{
|
{
|
||||||
LOG->Warn( "Course file '%s' contains a random_within_group entry '%s' that is invalid. "
|
LOG->Warn( "Course file '%s' contains a random_within_group entry '%s' that is invalid. "
|
||||||
"Song should be in the format '<group>/*'.",
|
"Song should be in the format '<group>/*'.",
|
||||||
sPath.c_str(), sSong.c_str());
|
sPath.c_str(), sSong.c_str() );
|
||||||
}
|
}
|
||||||
|
|
||||||
if( !SONGMAN->DoesSongGroupExist(new_entry.sSongGroup) )
|
if( !SONGMAN->DoesSongGroupExist(new_entry.sSongGroup) )
|
||||||
@@ -167,7 +167,7 @@ bool CourseLoaderCRS::LoadFromMsd( const RString &sPath, const MsdFile &msd, Cou
|
|||||||
* it obscures important warnings--and regular users never look there, anyway. */
|
* it obscures important warnings--and regular users never look there, anyway. */
|
||||||
LOG->Trace( "Course file '%s' random_within_group entry '%s' specifies a group that doesn't exist. "
|
LOG->Trace( "Course file '%s' random_within_group entry '%s' specifies a group that doesn't exist. "
|
||||||
"This entry will be ignored.",
|
"This entry will be ignored.",
|
||||||
sPath.c_str(), sSong.c_str());
|
sPath.c_str(), sSong.c_str() );
|
||||||
continue; // skip this #SONG
|
continue; // skip this #SONG
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -195,16 +195,15 @@ bool CourseLoaderCRS::LoadFromMsd( const RString &sPath, const MsdFile &msd, Cou
|
|||||||
new_entry.iHighMeter = new_entry.iLowMeter;
|
new_entry.iHighMeter = new_entry.iLowMeter;
|
||||||
else if( retval != 2 )
|
else if( retval != 2 )
|
||||||
{
|
{
|
||||||
LOG->Warn("Course file '%s' contains an invalid difficulty setting: \"%s\", 3..6 used instead",
|
LOG->Warn( "Course file '%s' contains an invalid difficulty setting: \"%s\", 3..6 used instead",
|
||||||
sPath.c_str(), sParams[2].c_str());
|
sPath.c_str(), sParams[2].c_str() );
|
||||||
new_entry.iLowMeter = 3;
|
new_entry.iLowMeter = 3;
|
||||||
new_entry.iHighMeter = 6;
|
new_entry.iHighMeter = 6;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
/* If "showcourse" or "noshowcourse" is in the list, force new_entry.secret
|
/* If "showcourse" or "noshowcourse" is in the list, force new_entry.secret on or off. */
|
||||||
* on or off. */
|
|
||||||
vector<RString> mods;
|
vector<RString> mods;
|
||||||
split( sParams[3], ",", mods, true );
|
split( sParams[3], ",", mods, true );
|
||||||
for( int j = (int) mods.size()-1; j >= 0 ; --j )
|
for( int j = (int) mods.size()-1; j >= 0 ; --j )
|
||||||
|
|||||||
Reference in New Issue
Block a user