This commit is contained in:
Glenn Maynard
2005-07-19 00:55:02 +00:00
parent c23d0ae90e
commit 71c765ba66
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
const CString RANKING_TO_FILL_IN_MARKER[NUM_PLAYERS] = {"#P1#","#P2#"}; const CString RANKING_TO_FILL_IN_MARKER[NUM_PLAYERS] = {"#P1#","#P2#"};
const extern CString GROUP_ALL = "---Group All---"; extern const CString GROUP_ALL = "---Group All---";
static const CString RadarCategoryNames[] = { static const CString RadarCategoryNames[] = {
"Stream", "Stream",
+2 -2
View File
@@ -60,7 +60,7 @@ bool ScreenSelectProfile::ProcessMenuStart( PlayerNumber pn )
{ {
vector<CString> vProfileIDs; vector<CString> vProfileIDs;
PROFILEMAN->GetLocalProfileIDs( vProfileIDs ); PROFILEMAN->GetLocalProfileIDs( vProfileIDs );
if( vProfileIDs.size() >= MAX_NUM_LOCAL_PROFILES ) if( (int) vProfileIDs.size() >= MAX_NUM_LOCAL_PROFILES )
{ {
CString sError = ssprintf( "You may only create up to %d profiles. You must delete an existing profile before creating a new one.", MAX_NUM_LOCAL_PROFILES ); CString sError = ssprintf( "You may only create up to %d profiles. You must delete an existing profile before creating a new one.", MAX_NUM_LOCAL_PROFILES );
ScreenPrompt::Prompt( SM_None, sError ); ScreenPrompt::Prompt( SM_None, sError );
@@ -100,7 +100,7 @@ void ScreenSelectProfile::HandleScreenMessage( const ScreenMessage SM )
vector<CString> vsProfileID; vector<CString> vsProfileID;
PROFILEMAN->GetLocalProfileIDs( vsProfileID ); PROFILEMAN->GetLocalProfileIDs( vsProfileID );
if( iSelection == 0 || iSelection == vsProfileID.size()+1 ) if( iSelection == 0 || iSelection == (int) vsProfileID.size()+1 )
{ {
GAMESTATE->m_sLastSelectedProfileID = ""; GAMESTATE->m_sLastSelectedProfileID = "";
} }