From 491a884944dfd4955151affac0a98814259007d6 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Mon, 2 Jul 2018 21:47:55 +0100 Subject: 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 --- src/cargo_type.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cargo_type.h b/src/cargo_type.h index c84f1f490..1eca0edff 100644 --- 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 { -- cgit v1.2.3-70-g09d2