`CargoSpec::Iterate()` deliberately skips invalid cargo types, but `FinaliseCargoCarry()` is only interested in them.
This commit is contained in:
@@ -175,6 +175,7 @@ private:
|
||||
static CargoSpec array[NUM_CARGO]; ///< Array holding all CargoSpecs
|
||||
|
||||
friend void SetupCargoForClimate(LandscapeID l);
|
||||
friend void FinaliseCargoArray();
|
||||
};
|
||||
|
||||
extern CargoTypes _cargo_mask;
|
||||
|
Reference in New Issue
Block a user