summaryrefslogtreecommitdiff
path: root/order_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'order_gui.c')
-rw-r--r--order_gui.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/order_gui.c b/order_gui.c
index 66a30ba7e..bce259121 100644
--- a/order_gui.c
+++ b/order_gui.c
@@ -215,6 +215,8 @@ static Order GetOrderCmdFromTile(const Vehicle *v, TileIndex tile)
Order order;
order.next = NULL;
order.index = 0;
+ order.refit_cargo = CT_INVALID;
+ order.refit_subtype = 0;
// check depot first
if (_patches.gotodepot) {