more small comment stuff

This commit is contained in:
AJ Kelly
2011-06-03 19:52:20 -05:00
parent f2e727b466
commit d0cca36f2a
+3 -3
View File
@@ -265,7 +265,7 @@ void PlayerOptions::FromString( const RString &sMultipleMods )
{ {
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() );
} }
} }
} }
@@ -300,8 +300,8 @@ bool PlayerOptions::FromOneModString( const RString &sOneMod, RString &sErrorOut
* they meant "*123". */ * they meant "*123". */
if( s->Right(1) == "*" ) if( s->Right(1) == "*" )
{ {
/* XXX We know what they want, is there any reason not to handle it? */ // XXX: We know what they want, is there any reason not to handle it?
/* Yes. We should be strict in handling the format. -Chris */ // Yes. We should be strict in handling the format. -Chris
sErrorOut = ssprintf("Invalid player options \"%s\"; did you mean '*%d'?", s->c_str(), StringToInt(*s) ); sErrorOut = ssprintf("Invalid player options \"%s\"; did you mean '*%d'?", s->c_str(), StringToInt(*s) );
return false; return false;
} }