From dd7f5dca718d28aeff5dce6135957c89dca7c381 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Tue, 1 Mar 2016 21:31:17 +0000 Subject: [PATCH] Fix route step lines not being updated when cloning a vehicle's orders. --- src/order_gui.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/order_gui.cpp b/src/order_gui.cpp index 7bfabe87a3..2f397f4587 100644 --- a/src/order_gui.cpp +++ b/src/order_gui.cpp @@ -1484,6 +1484,8 @@ public: share_order ? CMD_CLONE_ORDER | CMD_MSG(STR_ERROR_CAN_T_SHARE_ORDER_LIST) : CMD_CLONE_ORDER | CMD_MSG(STR_ERROR_CAN_T_COPY_ORDER_LIST))) { this->selected_order = -1; ResetObjectToPlace(); + MarkAllRoutePathsDirty(this->vehicle); + MarkAllRouteStepsDirty(this); } return true; }