Changeset - r22945:4ef2e91b5537
[Not reviewed]
master
0 1 0
Jonathan G Rennison - 6 years ago 2018-07-02 20:47:55
j.g.rennison@gmail.com
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
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/cargo_type.h
Show inline comments
 
@@ -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 {
0 comments (0 inline, 0 general)