1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-06 19:41:11 +00:00

Merge pull request #30177 from hbina/use_FALLTHROUGH_macro

Applied some of FALLTHROUGH macro usage from #30122
This commit is contained in:
Rémi Verschelde
2019-06-29 23:40:08 +02:00
committed by GitHub
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;