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
This commit is contained in:
Jonathan G Rennison 2018-07-02 21:47:55 +01:00 committed by Ingo von Borstel
parent 4a35409e0f
commit 491a884944

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 {