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:
@@ -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 = "";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user