work around bad global constructor order in g++ x86 by not using PlayerNumber. Find a better way to handle this?

This commit is contained in:
Chris Danford
2005-10-29 05:42:38 +00:00
parent 9f0efb9cb0
commit ca8e0c5137
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ ProfileManager* PROFILEMAN = NULL; // global and accessable from anywhere in our
static void DefaultLocalProfileIDInit( size_t /*PlayerNumber*/ i, CString &sNameOut, CString &defaultValueOut )
{
sNameOut = "DefaultLocalProfileID" + PlayerNumberToString( (PlayerNumber)i );
sNameOut = ssprintf( "DefaultLocalProfileIDP%d", i+1 );
defaultValueOut = "";
}