fix Init method not being called
This commit is contained in:
@@ -342,6 +342,11 @@ ScreenGameplay::ScreenGameplay()
|
|||||||
m_pPlayerScoreList = NULL;
|
m_pPlayerScoreList = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void ScreenGameplay::Init()
|
||||||
|
{
|
||||||
|
Init( true );
|
||||||
|
}
|
||||||
|
|
||||||
void ScreenGameplay::Init( bool bUseSongBackgroundAndForeground )
|
void ScreenGameplay::Init( bool bUseSongBackgroundAndForeground )
|
||||||
{
|
{
|
||||||
PLAYER_TYPE.Load( m_sName, "PlayerType" );
|
PLAYER_TYPE.Load( m_sName, "PlayerType" );
|
||||||
|
|||||||
@@ -98,7 +98,8 @@ class ScreenGameplay : public ScreenWithMenuElements
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ScreenGameplay();
|
ScreenGameplay();
|
||||||
virtual void Init( bool bUseSongBackgroundAndForeground = true );
|
virtual void Init();
|
||||||
|
void Init( bool bUseSongBackgroundAndForeground );
|
||||||
virtual ~ScreenGameplay();
|
virtual ~ScreenGameplay();
|
||||||
virtual void BeginScreen();
|
virtual void BeginScreen();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user