more small comment stuff
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user