diff options
author | michi_cc <michi_cc@openttd.org> | 2012-02-14 17:04:06 +0000 |
---|---|---|
committer | michi_cc <michi_cc@openttd.org> | 2012-02-14 17:04:06 +0000 |
commit | f2c694c8fbfb775dc239ab1c6447d3744d1c84c7 (patch) | |
tree | af7e8b3e3689ad2e9e0db8ef56a8c7ea7521b373 /src/order_cmd.cpp | |
parent | 347157cb8ce016428275d6143b555de1dc802133 (diff) | |
download | openttd-f2c694c8fbfb775dc239ab1c6447d3744d1c84c7.tar.xz |
(svn r23947) -Feature: Timetabled maximum travel speeds for non-flying vehicles.
Diffstat (limited to 'src/order_cmd.cpp')
-rw-r--r-- | src/order_cmd.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/order_cmd.cpp b/src/order_cmd.cpp index 824d82045..6846c7af5 100644 --- a/src/order_cmd.cpp +++ b/src/order_cmd.cpp @@ -241,6 +241,7 @@ Order::Order(uint32 packed) this->refit_subtype = 0; this->wait_time = 0; this->travel_time = 0; + this->max_speed = UINT16_MAX; } /** @@ -281,6 +282,7 @@ void Order::AssignOrder(const Order &other) this->wait_time = other.wait_time; this->travel_time = other.travel_time; + this->max_speed = other.max_speed; } /** |