diff options
author | bjarni <bjarni@openttd.org> | 2006-10-07 08:24:11 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2006-10-07 08:24:11 +0000 |
commit | b4974b9d7de81eff1516b70781d16249357b1020 (patch) | |
tree | 92791291c21a0b5bb2a019e186e9a56e00fd88bf /vehicle_gui.c | |
parent | c60950d826b2c0af43516f3b682e05b3d0c8f9dc (diff) | |
download | openttd-b4974b9d7de81eff1516b70781d16249357b1020.tar.xz |
(svn r6676) -Fix: [vehicle list windows] mass start/stop now works correctly in shared orders and station lists
Diffstat (limited to 'vehicle_gui.c')
-rw-r--r-- | vehicle_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vehicle_gui.c b/vehicle_gui.c index 57c68bb18..6d65fee7e 100644 --- a/vehicle_gui.c +++ b/vehicle_gui.c @@ -1720,7 +1720,7 @@ void PlayerVehWndProc(Window *w, WindowEvent *e) case VLW_WIDGET_STOP_ALL: case VLW_WIDGET_START_ALL: - DoCommandP(0, vl->vehicle_type, (w->window_number & VLW_MASK) | (1 << 1) | (e->we.click.widget == VLW_WIDGET_START_ALL ? 1 : 0), NULL, CMD_MASS_START_STOP); + DoCommandP(0, GB(w->window_number, 16, 16), (w->window_number & VLW_MASK) | (1 << 6) | (e->we.click.widget == VLW_WIDGET_START_ALL ? (1 << 5) : 0) | vl->vehicle_type, NULL, CMD_MASS_START_STOP); break; } } break; |