(svn r11671) -Fix: sometimes a vehicle was selected in the vehicle list when it was opened

This commit is contained in:
smatz 2007-12-20 22:45:56 +00:00
parent 0e727b8e63
commit 33c86f83e2

View File

@ -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: