mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-18 19:08:19 +00:00
refactor: replace NULL with nullptr across C++ codebase
Excludes vendored C libs (zlib, Miles, DirectXMath, boost, Iggy).
This commit is contained in:
@@ -56,7 +56,7 @@ void VideoSettingsScreen::init() {
|
||||
|
||||
void VideoSettingsScreen::buttonClicked(Button* button) {
|
||||
if (!button->active) return;
|
||||
if (button->id < 100 && (dynamic_cast<SmallButton*>(button) != NULL)) {
|
||||
if (button->id < 100 && (dynamic_cast<SmallButton*>(button) != nullptr)) {
|
||||
options->toggle(((SmallButton*)button)->getOption(), 1);
|
||||
button->msg = options->getMessage(Options::Option::getItem(button->id));
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user