Fix 9602de4: FinaliseCargoArray did nothing. (#11839)

`CargoSpec::Iterate()` deliberately skips invalid cargo types, but `FinaliseCargoCarry()` is only interested in them.
This commit is contained in:
Peter Nelson
2024-01-19 20:07:47 +00:00
committed by GitHub
parent db7697bcdf
commit 903119115b
2 changed files with 7 additions and 6 deletions

View File

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