warnings
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
@@ -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 = "";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user