diff --git a/src/order_gui.cpp b/src/order_gui.cpp index ba8ebf5afa..f27115c911 100644 --- a/src/order_gui.cpp +++ b/src/order_gui.cpp @@ -1656,11 +1656,9 @@ public: break; default: - if (data < 0) break; - if (gui_scope) break; // only do this once; from command scope - from = GB(data, 0, 8); - to = GB(data, 8, 8); + from = GB(data, 0, 16); + to = GB(data, 16, 16); /* Moving an order. If one of these is INVALID_VEH_ORDER_ID, then * the order is being created / removed */ if (this->selected_order == -1) break;