mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-06-20 12:09:32 +01:00
(svn r11671) -Fix: sometimes a vehicle was selected in the vehicle list when it was opened
This commit is contained in:
parent
4a80cf8482
commit
30c0d6da99
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user