1
0
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:
hbina085
2019-06-28 23:09:59 -04:00
parent 3942c939e3
commit 9f0c6a6009
7 changed files with 19 additions and 12 deletions

View File

@@ -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;