Fix brain dead g++ 4.0.1's inability to have private constants without declaring storage for them.
This commit is contained in:
@@ -266,7 +266,7 @@ void ScreenNameEntry::Init()
|
||||
|
||||
|
||||
const Style* pStyle = GAMESTATE->GetCurrentStyle();
|
||||
const int iMaxCols = min( ABS_MAX_RANKING_NAME_LENGTH, pStyle->m_iColsPerPlayer );
|
||||
const int iMaxCols = min( int(ABS_MAX_RANKING_NAME_LENGTH), pStyle->m_iColsPerPlayer );
|
||||
m_ColToStringIndex[p].insert(m_ColToStringIndex[p].begin(), pStyle->m_iColsPerPlayer, -1);
|
||||
int CurrentStringIndex = 0;
|
||||
vector<float> xs;
|
||||
|
||||
@@ -41,7 +41,7 @@ private:
|
||||
static RString g_sNameChars;
|
||||
};
|
||||
|
||||
static const int ABS_MAX_RANKING_NAME_LENGTH = 10;
|
||||
enum { ABS_MAX_RANKING_NAME_LENGTH = 10 };
|
||||
bool AnyStillEntering() const;
|
||||
|
||||
ReceptorArrowRow m_ReceptorArrowRow[NUM_PLAYERS];
|
||||
|
||||
Reference in New Issue
Block a user