fix Init method not being called
This commit is contained in:
@@ -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" );
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user