diff options
author | smatz <smatz@openttd.org> | 2007-12-20 22:45:56 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2007-12-20 22:45:56 +0000 |
commit | 30c0d6da99c66ab82a459a5ab4e5d730c16f6dfd (patch) | |
tree | 0ff5dbaa4696c08303d9d9659353e9a2c4d54dbc | |
parent | 4a80cf848209962a378019f74a318994370d3fd7 (diff) | |
download | openttd-30c0d6da99c66ab82a459a5ab4e5d730c16f6dfd.tar.xz |
(svn r11671) -Fix: sometimes a vehicle was selected in the vehicle list when it was opened
-rw-r--r-- | src/group_gui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/group_gui.cpp b/src/group_gui.cpp index 39ca8a2c4..803511d42 100644 --- a/src/group_gui.cpp +++ b/src/group_gui.cpp @@ -212,6 +212,7 @@ static void CreateVehicleGroupWindow(Window *w) gl->l.resort_timer = DAY_TICKS * PERIODIC_RESORT_DAYS; // Set up resort timer gv->group_sel = ALL_GROUP; + gv->vehicle_sel = INVALID_VEHICLE; switch (gv->vehicle_type) { case VEH_TRAIN: |