diff options
author | smatz <smatz@openttd.org> | 2007-12-12 14:37:35 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2007-12-12 14:37:35 +0000 |
commit | 5acc147c1cc5322ad1f307f4e1143a17cb8f77b3 (patch) | |
tree | db66fb63672eccb83db1f1e2338cd7b2d56150aa /src/order_cmd.cpp | |
parent | e0646af976337e6ed210b0ea920710613f078fca (diff) | |
download | openttd-5acc147c1cc5322ad1f307f4e1143a17cb8f77b3.tar.xz |
(svn r11625) -Codechange: add CO_* enum at some places, add includes of order.h too
Diffstat (limited to 'src/order_cmd.cpp')
-rw-r--r-- | src/order_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/order_cmd.cpp b/src/order_cmd.cpp index 7e1256727..644b24952 100644 --- a/src/order_cmd.cpp +++ b/src/order_cmd.cpp @@ -983,7 +983,7 @@ void RestoreVehicleOrders(const Vehicle *v, const BackuppedOrders *bak) /* If we had shared orders, recover that */ if (bak->clone != INVALID_VEHICLE) { - DoCommandP(0, v->index | (bak->clone << 16), 0, NULL, CMD_CLONE_ORDER); + DoCommandP(0, v->index | (bak->clone << 16), CO_SHARE, NULL, CMD_CLONE_ORDER); } else { /* CMD_NO_TEST_IF_IN_NETWORK is used here, because CMD_INSERT_ORDER checks if the |