Don't Init() in FromString.

This commit is contained in:
Glenn Maynard
2003-02-22 21:56:59 +00:00
parent fad2b81d43
commit 7877e7689a
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -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 );