diff options
Diffstat (limited to 'Minecraft.Client/VideoSettingsScreen.cpp')
| -rw-r--r-- | Minecraft.Client/VideoSettingsScreen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Minecraft.Client/VideoSettingsScreen.cpp b/Minecraft.Client/VideoSettingsScreen.cpp index cc13eab2..5c948cdd 100644 --- a/Minecraft.Client/VideoSettingsScreen.cpp +++ b/Minecraft.Client/VideoSettingsScreen.cpp @@ -46,9 +46,9 @@ void VideoSettingsScreen::init() void VideoSettingsScreen::buttonClicked(Button *button) { if (!button->active) return; - if (button->id < 100 && (dynamic_cast<SmallButton *>(button) != nullptr)) + if (button->id < 100 && (dynamic_cast<SmallButton *>(button) != NULL)) { - options->toggle(static_cast<SmallButton *>(button)->getOption(), 1); + options->toggle(((SmallButton *) button)->getOption(), 1); button->msg = options->getMessage(Options::Option::getItem(button->id)); } if (button->id == 200) |
