Revert "Project modernization (#630)"
This code was not tested and breaks in Release builds, reverting to restore
functionality of the nightly. All in-game menus do not work and generating
a world crashes.
This reverts commit a9be52c41a.
This commit is contained in:
@@ -18,7 +18,7 @@ TitleScreen::TitleScreen()
|
||||
{
|
||||
// 4J - added initialisers
|
||||
vo = 0;
|
||||
multiplayerButton = nullptr;
|
||||
multiplayerButton = NULL;
|
||||
|
||||
splash = L"missingno";
|
||||
// try { // 4J - removed try/catch
|
||||
@@ -93,7 +93,7 @@ void TitleScreen::init()
|
||||
buttons.push_back(new Button(4, width / 2 + 2, topPos + spacing * 3 + 12, 98, 20, language->getElement(L"menu.quit")));
|
||||
}
|
||||
|
||||
if (minecraft->user == nullptr)
|
||||
if (minecraft->user == NULL)
|
||||
{
|
||||
multiplayerButton->active = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user