(svn r11671) -Fix: sometimes a vehicle was selected in the vehicle list when it was opened
authorsmatz
Thu, 20 Dec 2007 22:45:56 +0000
changeset 8110 8c4810017988
parent 8109 a501ce9046c4
child 8111 02d19f43eea6
(svn r11671) -Fix: sometimes a vehicle was selected in the vehicle list when it was opened
src/group_gui.cpp
--- a/src/group_gui.cpp	Wed Dec 19 23:35:14 2007 +0000
+++ b/src/group_gui.cpp	Thu Dec 20 22:45:56 2007 +0000
@@ -212,6 +212,7 @@
 	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: