mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-04 05:15:21 +00:00
(svn r10337) -Fix [FS#880]: Autoreplace is only valid for the standard vehicle list, not station or shared order lists.
This commit is contained in:
parent
dc78cf178c
commit
8b314ffd1f
@ -1111,7 +1111,7 @@ void PlayerVehWndProc(Window *w, WindowEvent *e)
|
||||
|
||||
/* XXX - Substite string since the dropdown cannot handle dynamic strings */
|
||||
action_str[2] = depot_name[vl->vehicle_type];
|
||||
ShowDropDownMenu(w, action_str, 0, VLW_WIDGET_MANAGE_VEHICLES_DROPDOWN, 0, 0);
|
||||
ShowDropDownMenu(w, action_str, 0, VLW_WIDGET_MANAGE_VEHICLES_DROPDOWN, 0, (w->window_number & VLW_MASK) == VLW_STANDARD ? 0 : 1);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user