fix Init method not being called

This commit is contained in:
Chris Danford
2006-02-05 04:29:10 +00:00
parent 2c6ce27743
commit 3a89d0f997
2 changed files with 7 additions and 1 deletions
+5
View File
@@ -342,6 +342,11 @@ ScreenGameplay::ScreenGameplay()
m_pPlayerScoreList = NULL;
}
void ScreenGameplay::Init()
{
Init( true );
}
void ScreenGameplay::Init( bool bUseSongBackgroundAndForeground )
{
PLAYER_TYPE.Load( m_sName, "PlayerType" );
+2 -1
View File
@@ -98,7 +98,8 @@ class ScreenGameplay : public ScreenWithMenuElements
{
public:
ScreenGameplay();
virtual void Init( bool bUseSongBackgroundAndForeground = true );
virtual void Init();
void Init( bool bUseSongBackgroundAndForeground );
virtual ~ScreenGameplay();
virtual void BeginScreen();