Remove numSidesJoinedToPlay.

This commit is contained in:
Glenn Maynard
2003-09-23 04:00:03 +00:00
parent 21b4ee8c23
commit 7df218167b
2 changed files with 0 additions and 19 deletions
-18
View File
@@ -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;
}