diff options
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; } /** |