# HG changeset patch # User Jonathan G Rennison # Date 2018-07-02 20:47:55 # Node ID 4ef2e91b5537fc98b5b93c6bd1fb12e391a30487 # Parent fceed1a2f0219d5d4fb7dbaccb2629f89d2cefd1 Fix: ALL_CARGOTYPES mask constant was 32 instead of 64 bits (#6845) NUM_CARGO and CargoTypes were increased from 32 to 64 cargoes/bits respectively in commit 11ab3c4ea2f6a6d29efda8c9ba2af04194621ea7 diff --git a/src/cargo_type.h b/src/cargo_type.h --- a/src/cargo_type.h +++ b/src/cargo_type.h @@ -72,7 +72,7 @@ enum CargoType { typedef uint64 CargoTypes; -static const CargoTypes ALL_CARGOTYPES = (CargoTypes)UINT32_MAX; +static const CargoTypes ALL_CARGOTYPES = (CargoTypes)UINT64_MAX; /** Class for storing amounts of cargo */ struct CargoArray {