summaryrefslogtreecommitdiff
path: root/src/group_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/group_gui.cpp')
-rw-r--r--src/group_gui.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/group_gui.cpp b/src/group_gui.cpp
index d745a5ed2..e5762ca26 100644
--- a/src/group_gui.cpp
+++ b/src/group_gui.cpp
@@ -661,6 +661,11 @@ static const WindowDesc _train_group_desc(
_nested_group_widgets, lengthof(_nested_group_widgets)
);
+/**
+ * Show the group window for the given company and vehicle type.
+ * @param company The company to show the window for.
+ * @param vehicle_type The type of vehicle to show it for.
+ */
void ShowCompanyGroup(CompanyID company, VehicleType vehicle_type)
{
if (!Company::IsValidID(company)) return;