summaryrefslogtreecommitdiff
path: root/src/order_cmd.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2007-12-12 14:37:35 +0000
committersmatz <smatz@openttd.org>2007-12-12 14:37:35 +0000
commit3b59b68a154d16934ab84e4ec49d91300fbcb539 (patch)
treedb66fb63672eccb83db1f1e2338cd7b2d56150aa /src/order_cmd.cpp
parenta7fa65a2e3387278614dfdf8cfe994adae402508 (diff)
downloadopenttd-3b59b68a154d16934ab84e4ec49d91300fbcb539.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.cpp2
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