From d8365c63fd56352f07418bd079a971c043fa13b8 Mon Sep 17 00:00:00 2001 From: fonsinchen Date: Tue, 20 Aug 2013 20:05:31 +0000 Subject: (svn r25735) -Feature: allow implicit orders even if no explicit ones are given. --- src/order_type.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/order_type.h') diff --git a/src/order_type.h b/src/order_type.h index 947f00da8..d3a771ce8 100644 --- a/src/order_type.h +++ b/src/order_type.h @@ -27,6 +27,12 @@ static const VehicleOrderID MAX_VEH_ORDER_ID = INVALID_VEH_ORDER_ID - 1; /** Invalid order (sentinel) */ static const OrderID INVALID_ORDER = 0xFFFF; +/** + * Maximum number of orders in implicit-only lists before we start searching + * harder for duplicates. + */ +static const uint IMPLICIT_ORDER_ONLY_CAP = 32; + /** Order types */ enum OrderType { OT_BEGIN = 0, -- cgit v1.2.3-54-g00ecf