summaryrefslogtreecommitdiff
path: root/vehicle_gui.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2005-01-31 11:03:23 +0000
committerdarkvater <darkvater@openttd.org>2005-01-31 11:03:23 +0000
commit0e272f2d1006206baa7820cbbf04e3617feabb9d (patch)
tree6cfb4e4ff6887ed491747fa9b1aa2d19063aab51 /vehicle_gui.c
parentbb680056b1004ca5e8e74786764061aeedf9c188 (diff)
downloadopenttd-0e272f2d1006206baa7820cbbf04e3617feabb9d.tar.xz
(svn r1750) - Feature: [ 1093261 ] Saving vehicle sorting criteria for each vehicle type (bociusz)
Diffstat (limited to 'vehicle_gui.c')
-rw-r--r--vehicle_gui.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/vehicle_gui.c b/vehicle_gui.c
index 3c9b5f441..830a6bb46 100644
--- a/vehicle_gui.c
+++ b/vehicle_gui.c
@@ -1011,3 +1011,8 @@ void ShowReplaceVehicleWindow(byte vehicletype)
WP(w,replaceveh_d).vehicletype = vehicletype;
w->vscroll2.cap = w->vscroll.cap; // these two are always the same
}
+
+void InitializeGUI(void)
+{
+ memset(&_sorting, 0, sizeof(_sorting));
+}