Use CargoID instead of CargoSpec in town_production_cargoes
This commit is contained in:
@@ -197,7 +197,7 @@ struct CargoSpec {
|
||||
static IterateWrapper Iterate(size_t from = 0) { return IterateWrapper(from); }
|
||||
|
||||
/** List of cargo specs for each Town Product Effect. */
|
||||
static std::array<std::vector<const CargoSpec *>, NUM_TPE> town_production_cargoes;
|
||||
static std::array<std::vector<CargoID>, NUM_TPE> town_production_cargoes;
|
||||
|
||||
/** Mask of cargo IDs for each Town Product Effect. */
|
||||
static std::array<CargoTypes, NUM_TPE> town_production_cargo_mask;
|
||||
|
Reference in New Issue
Block a user