mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-10-02 00:10:46 +00:00
refactor: replace NULL with nullptr across C++ codebase
Excludes vendored C libs (zlib, Miles, DirectXMath, boost, Iggy).
This commit is contained in:
@@ -76,7 +76,7 @@ void PauseScreen::buttonClicked(Button* button) {
|
||||
// minecraft->level->disconnect();
|
||||
// }
|
||||
|
||||
// minecraft->setLevel(NULL);
|
||||
// minecraft->setLevel(nullptr);
|
||||
// minecraft->setScreen(new TitleScreen());
|
||||
|
||||
// 4jcraft: exit with our new exitWorld method
|
||||
@@ -85,7 +85,7 @@ void PauseScreen::buttonClicked(Button* button) {
|
||||
if (button->id == 4) {
|
||||
app.SetXuiServerAction(ProfileManager.GetPrimaryPad(),
|
||||
eXuiServerAction_PauseServer, (void*)FALSE);
|
||||
minecraft->setScreen(NULL);
|
||||
minecraft->setScreen(nullptr);
|
||||
// minecraft->grabMouse(); // 4J - removed
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user