1
0
Fork 0

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 11ab3c4ea2
pull/6846/head
Jonathan G Rennison 2018-07-02 21:47:55 +01:00 committed by Ingo von Borstel
parent 4a35409e0f
commit 491a884944
1 changed files with 1 additions and 1 deletions

View File

@ -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 {