One loop.

This commit is contained in:
Jason Felds
2013-05-01 22:16:53 -04:00
parent 1766edc691
commit 3f3ea20a3a
+3 -3
View File
@@ -271,11 +271,11 @@ void PlayerOptions::FromString( const RString &sMultipleMods )
vector<RString> vs;
split( sTemp, ",", vs, true );
RString sThrowAway;
FOREACH( RString, vs, s )
for (RString &s : vs)
{
if (!FromOneModString( *s, sThrowAway ))
if (!FromOneModString( s, sThrowAway ))
{
LOG->Trace( "Attempted to load a non-existing mod \'%s\' for the Player. Ignoring.", (*s).c_str() );
LOG->Trace( "Attempted to load a non-existing mod \'%s\' for the Player. Ignoring.", s.c_str() );
}
}
}