Added missing initialisation, fixed line endings.

This commit is contained in:
hiker 2015-02-13 08:42:09 +11:00
parent f437781dcc
commit cdb35b0804
2 changed files with 3 additions and 2 deletions

View File

@ -45,7 +45,8 @@ DEFINE_SCREEN_SINGLETON( RegisterScreen );
RegisterScreen::RegisterScreen() : Screen("online/register.stkgui")
{
m_existing_player = NULL;
m_account_mode = ACCOUNT_OFFLINE;
m_account_mode = ACCOUNT_OFFLINE;
m_parent_screen = NULL;
} // RegisterScreen
// -----------------------------------------------------------------------------

View File

@ -78,7 +78,7 @@ public:
virtual void loadedFromFile() OVERRIDE {};
virtual void onUpdate(float dt) OVERRIDE;
virtual bool onEscapePressed() OVERRIDE;
virtual void onDialogClose() OVERRIDE;
virtual void onDialogClose() OVERRIDE;
virtual void onFocusChanged(GUIEngine::Widget *previous,
GUIEngine::Widget *focus,
int playerID);