summaryrefslogtreecommitdiff
path: root/order.h
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2006-10-03 16:05:11 +0000
committerbjarni <bjarni@openttd.org>2006-10-03 16:05:11 +0000
commit3f8082b4b7b67378f933dc84204744324e9a143b (patch)
tree7069b27f3099a815900fd4fe6d28154d2d5ebc9a /order.h
parent0ec5ade0cbad6b04203b69af654c32ec69d68261 (diff)
downloadopenttd-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.h')
-rw-r--r--order.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/order.h b/order.h
index fd7f96e7e..43b8e9c71 100644
--- a/order.h
+++ b/order.h
@@ -191,6 +191,8 @@ static inline Order UnpackOrder(uint32 packed)
order.dest = GB(packed, 16, 16);
order.next = NULL;
order.index = 0; // avoid compiler warning
+ order.refit_cargo = CT_INVALID;
+ order.refit_subtype = 0;
return order;
}