diff options
author | Jonathan G Rennison <j.g.rennison@gmail.com> | 2018-07-02 21:47:55 +0100 |
---|---|---|
committer | Ingo von Borstel <github@planetmaker.de> | 2018-07-02 22:47:55 +0200 |
commit | 491a884944dfd4955151affac0a98814259007d6 (patch) | |
tree | e7a257cf04c8efc4ac4ed09ce41f43d954bf971a /src | |
parent | 4a35409e0f0b3868accc7e8f0afc0b172e9292f5 (diff) | |
download | openttd-491a884944dfd4955151affac0a98814259007d6.tar.xz |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/cargo_type.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |