diff --git a/stepmania/src/ModeChoice.cpp b/stepmania/src/ModeChoice.cpp index b0b16cd9ee..6622f79171 100644 --- a/stepmania/src/ModeChoice.cpp +++ b/stepmania/src/ModeChoice.cpp @@ -17,7 +17,6 @@ void ModeChoice::Init() dc = DIFFICULTY_INVALID; sAnnouncer = ""; strcpy( name, "" ); - numSidesJoinedToPlay = 1; } bool ModeChoice::DescribesCurrentMode() const @@ -113,23 +112,6 @@ bool ModeChoice::FromString( CString sChoice, bool bIgnoreUnknown ) } - if( this->style != STYLE_INVALID ) - { - const StyleDef* pStyleDef = GAMEMAN->GetStyleDefForStyle(this->style); - switch( pStyleDef->m_StyleType ) - { - case StyleDef::ONE_PLAYER_ONE_CREDIT: - this->numSidesJoinedToPlay = 1; - break; - case StyleDef::TWO_PLAYERS_TWO_CREDITS: - case StyleDef::ONE_PLAYER_TWO_CREDITS: - this->numSidesJoinedToPlay = 2; - break; - default: - ASSERT(0); - } - } - return !bChoiceIsInvalid; } diff --git a/stepmania/src/ModeChoice.h b/stepmania/src/ModeChoice.h index 0725fd4797..031e6110dd 100644 --- a/stepmania/src/ModeChoice.h +++ b/stepmania/src/ModeChoice.h @@ -33,7 +33,6 @@ struct ModeChoice // used in SelectMode CString sAnnouncer; char name[64]; - int numSidesJoinedToPlay; }; #endif