(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 4a80cf8482
commit 30c0d6da99
1 changed files with 1 additions and 0 deletions

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: