You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Many fallthrough switch cases now have the FALLTHROUGH macro to tell the compiler that this is intended.
This commit is contained in:
@@ -235,7 +235,7 @@ void GridMapEditor::_menu_option(int p_option) {
|
||||
options->get_popup()->set_item_checked(idx, !options->get_popup()->is_item_checked(idx));
|
||||
} break;
|
||||
|
||||
case MENU_OPTION_SELECTION_DUPLICATE: // fallthrough
|
||||
case MENU_OPTION_SELECTION_DUPLICATE:
|
||||
case MENU_OPTION_SELECTION_CUT: {
|
||||
if (!(selection.active && input_action == INPUT_NONE))
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user