Don't Init() in FromString.
This commit is contained in:
@@ -110,9 +110,11 @@ CString PlayerOptions::GetString()
|
||||
return sReturn;
|
||||
}
|
||||
|
||||
/* Options are added to the current settings; call Init() beforehand if
|
||||
* you don't want this. */
|
||||
void PlayerOptions::FromString( CString sOptions )
|
||||
{
|
||||
Init();
|
||||
// Init();
|
||||
sOptions.MakeLower();
|
||||
CStringArray asBits;
|
||||
split( sOptions, ",", asBits, true );
|
||||
|
||||
Reference in New Issue
Block a user