(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 8606 7253442c708e
parent 8605 b1f538188811
child 8607 d16299e657ba
(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: