Update route markers/lines when drag/dropping vehicle orders.

This commit is contained in:
Jonathan G Rennison
2016-07-20 01:54:18 +01:00
parent a57c41b2c4
commit 8c4904a9e4

View File

@@ -1412,6 +1412,8 @@ public:
DoCommandP(this->vehicle->tile, this->vehicle->index, from_order | (to_order << 16), CMD_MOVE_ORDER | CMD_MSG(STR_ERROR_CAN_T_MOVE_THIS_ORDER))) {
this->selected_order = -1;
this->UpdateButtonState();
MarkAllRoutePathsDirty(this->vehicle);
MarkAllRouteStepsDirty(this);
}
break;
}