diff --git a/src/ui/graphical/menu/widgets/checkbox.cpp b/src/ui/graphical/menu/widgets/checkbox.cpp index daf9687d..d5b7c213 100644 --- a/src/ui/graphical/menu/widgets/checkbox.cpp +++ b/src/ui/graphical/menu/widgets/checkbox.cpp @@ -109,11 +109,13 @@ void cCheckBox::draw (SDL_Surface& destination, const cBox& clipRect) case eCheckBoxType::HudIndex_01: case eCheckBoxType::HudIndex_02: textDesty = 7; + [[fallthrough]]; case eCheckBoxType::HudIndex_10: case eCheckBoxType::HudIndex_11: case eCheckBoxType::HudIndex_12: case eCheckBoxType::HudChat: if (textDesty != 7) textDesty = 6; + [[fallthrough]]; case eCheckBoxType::HudIndex_20: case eCheckBoxType::HudIndex_21: case eCheckBoxType::HudIndex_22: