diff options
author | bjarni <bjarni@openttd.org> | 2006-10-03 16:05:11 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2006-10-03 16:05:11 +0000 |
commit | 3f8082b4b7b67378f933dc84204744324e9a143b (patch) | |
tree | 7069b27f3099a815900fd4fe6d28154d2d5ebc9a /order_cmd.c | |
parent | 0ec5ade0cbad6b04203b69af654c32ec69d68261 (diff) | |
download | openttd-3f8082b4b7b67378f933dc84204744324e9a143b.tar.xz |
(svn r6627) -Fix r6624: fixed some warnings
Now it happened again. Somebody got warnings, that I didn't get... I will look into this issue
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; } |