mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-18 17:58:07 +00:00
refactor: replace NULL with nullptr across C++ codebase
Excludes vendored C libs (zlib, Miles, DirectXMath, boost, Iggy).
This commit is contained in:
@@ -54,7 +54,7 @@ void OptionsScreen::init() {
|
||||
|
||||
void OptionsScreen::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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user