summaryrefslogtreecommitdiff
path: root/src/autoreplace_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-05-02 20:59:54 +0000
committerrubidium <rubidium@openttd.org>2011-05-02 20:59:54 +0000
commitff143c67085ad22abb5f6920873fd0ff9eddf603 (patch)
treef4f5fe046bd9b07d8a9c20130d7e115eb80f45ba /src/autoreplace_gui.cpp
parentcf30941fab66fe6232e5b15b59ebedc4ea430e1e (diff)
downloadopenttd-ff143c67085ad22abb5f6920873fd0ff9eddf603.tar.xz
(svn r22413) -Document: even more stuff
Diffstat (limited to 'src/autoreplace_gui.cpp')
-rw-r--r--src/autoreplace_gui.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/autoreplace_gui.cpp b/src/autoreplace_gui.cpp
index 86a84fec7..e95606494 100644
--- a/src/autoreplace_gui.cpp
+++ b/src/autoreplace_gui.cpp
@@ -579,6 +579,11 @@ static const WindowDesc _replace_vehicle_desc(
_nested_replace_vehicle_widgets, lengthof(_nested_replace_vehicle_widgets)
);
+/**
+ * Show the autoreplace configuration window for a particular group.
+ * @param id_g The group to replace the vehicles for.
+ * @param vehicletype The type of vehicles in the group.
+ */
void ShowReplaceGroupVehicleWindow(GroupID id_g, VehicleType vehicletype)
{
DeleteWindowById(WC_REPLACE_VEHICLE, vehicletype);