summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.cpp
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2007-01-22 16:16:52 +0000
committerbjarni <bjarni@openttd.org>2007-01-22 16:16:52 +0000
commit8de419641027504876d0703066ca35d41c874fb2 (patch)
tree52da6a14aed8a706e4a6b9bc3ff9ef4d252fcd38 /src/vehicle_gui.cpp
parent053dd86a3cb33cb56fe0ad50b1e9ebb36ad7de2b (diff)
downloadopenttd-8de419641027504876d0703066ca35d41c874fb2.tar.xz
(svn r8349) -Codechange: replaced CMD_REFIT_VEH() and similar defines with real static inline functions
Diffstat (limited to 'src/vehicle_gui.cpp')
-rw-r--r--src/vehicle_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp
index 9a6db3267..6c7d3fbc5 100644
--- a/src/vehicle_gui.cpp
+++ b/src/vehicle_gui.cpp
@@ -1777,13 +1777,13 @@ void PlayerVehWndProc(Window *w, WindowEvent *e)
DoCommandP(0, GB(w->window_number, 16, 16) /* StationID or OrderID (depending on VLW) */,
(w->window_number & VLW_MASK) | DEPOT_MASS_SEND | DEPOT_SERVICE,
NULL,
- CMD_SEND_TO_DEPOT(vl->vehicle_type));
+ GetCmdSendToDepot(vl->vehicle_type));
break;
case 2: /* Send to Depots */
DoCommandP(0, GB(w->window_number, 16, 16) /* StationID or OrderID (depending on VLW) */,
(w->window_number & VLW_MASK) | DEPOT_MASS_SEND,
NULL,
- CMD_SEND_TO_DEPOT(vl->vehicle_type));
+ GetCmdSendToDepot(vl->vehicle_type));
break;
default: NOT_REACHED();