diff options
author | frosch <frosch@openttd.org> | 2021-05-13 15:45:07 +0200 |
---|---|---|
committer | frosch <github@elsenhans.name> | 2021-05-13 23:28:43 +0200 |
commit | a9ff296c3d608f04a14cd604a94531f5b42b2061 (patch) | |
tree | ae1480000191070b1dccd9871cff66ccfe9cbd6a /src/table | |
parent | 0f062b38826efbfa3b250da3943a6927346bc18c (diff) | |
download | openttd-a9ff296c3d608f04a14cd604a94531f5b42b2061.tar.xz |
Codechange: add constant for number of original cargoes.
Diffstat (limited to 'src/table')
-rw-r--r-- | src/table/cargo_const.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/table/cargo_const.h b/src/table/cargo_const.h index 8518a2561..bb6f811a9 100644 --- a/src/table/cargo_const.h +++ b/src/table/cargo_const.h @@ -96,7 +96,7 @@ static const CargoSpec _default_cargo[] = { /** Table of cargo types available in each climate, by default */ -static const CargoLabel _default_climate_cargo[NUM_LANDSCAPE][12] = { +static const CargoLabel _default_climate_cargo[NUM_LANDSCAPE][NUM_ORIGINAL_CARGO] = { { 'PASS', 'COAL', 'MAIL', 'OIL_', 'LVST', 'GOOD', 'GRAI', 'WOOD', 'IORE', 'STEL', 'VALU', 33, }, { 'PASS', 'COAL', 'MAIL', 'OIL_', 'LVST', 'GOOD', 'WHEA', 'WOOD', 34, 'PAPR', 'GOLD', 'FOOD', }, { 'PASS', 'RUBR', 'MAIL', 4, 'FRUT', 'GOOD', 'MAIZ', 11, 'CORE', 'WATR', 'DIAM', 'FOOD', }, |