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
commitb64c375f2f9cbe0dca4f88e3fe3f613db03b84a4 (patch)
tree6cfb4e4ff6887ed491747fa9b1aa2d19063aab51 /vehicle_gui.c
parent7bbcf5875c2fc6a8fa80e417d65e1094947d78b8 (diff)
downloadopenttd-b64c375f2f9cbe0dca4f88e3fe3f613db03b84a4.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));
+}