diff options
Diffstat (limited to 'order_cmd.c')
-rw-r--r-- | order_cmd.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/order_cmd.c b/order_cmd.c index fad343b1f..b87fb6879 100644 --- a/order_cmd.c +++ b/order_cmd.c @@ -57,6 +57,9 @@ Order UnpackOldOrder(uint16 packed) order.flags = 0; } + order.refit_cargo = CT_INVALID; + order.refit_subtype = 0; + return order; } @@ -73,6 +76,8 @@ static Order UnpackVersion4Order(uint16 packed) order.dest = GB(packed, 8, 8); order.next = NULL; order.index = 0; // avoid compiler warning + order.refit_cargo = CT_INVALID; + order.refit_subtype = 0; return order; } |