mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-02 09:40:35 +00:00
(svn r11671) -Fix: sometimes a vehicle was selected in the vehicle list when it was opened
This commit is contained in:
parent
0e727b8e63
commit
33c86f83e2
@ -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