mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00: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
|
gl->l.resort_timer = DAY_TICKS * PERIODIC_RESORT_DAYS; // Set up resort timer
|
||||||
|
|
||||||
gv->group_sel = ALL_GROUP;
|
gv->group_sel = ALL_GROUP;
|
||||||
|
gv->vehicle_sel = INVALID_VEHICLE;
|
||||||
|
|
||||||
switch (gv->vehicle_type) {
|
switch (gv->vehicle_type) {
|
||||||
case VEH_TRAIN:
|
case VEH_TRAIN:
|
||||||
|
Loading…
Reference in New Issue
Block a user