summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/console_gui.cpp1
-rw-r--r--src/order_gui.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/console_gui.cpp b/src/console_gui.cpp
index d69610b26..91f40cd39 100644
--- a/src/console_gui.cpp
+++ b/src/console_gui.cpp
@@ -344,6 +344,7 @@ struct IConsoleWindow : Window
} else {
return ES_NOT_HANDLED;
}
+ break;
}
return ES_HANDLED;
}
diff --git a/src/order_gui.cpp b/src/order_gui.cpp
index 650e32a68..621230adb 100644
--- a/src/order_gui.cpp
+++ b/src/order_gui.cpp
@@ -345,6 +345,7 @@ static Order GetOrderCmdFromTile(const Vehicle *v, TileIndex tile)
if (_ctrl_pressed) order.SetDepotOrderType((OrderDepotTypeFlags)(order.GetDepotOrderType() ^ ODTFB_SERVICE));
return order;
}
+ break;
default:
break;