diff options
author | smatz <smatz@openttd.org> | 2009-07-16 21:37:59 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-07-16 21:37:59 +0000 |
commit | f16314d0cc8a7b79ac48d4835f55a0968ccb77e6 (patch) | |
tree | fcbfee455debde78522ec9e4f1f03f71604540c4 /src/cargotype.h | |
parent | 77d13eae6194387ca6ce2b0eb835b7f97f67d085 (diff) | |
download | openttd-f16314d0cc8a7b79ac48d4835f55a0968ccb77e6.tar.xz |
(svn r16853) -Codechange: make CargoSpec const at two places
Diffstat (limited to 'src/cargotype.h')
-rw-r--r-- | src/cargotype.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cargotype.h b/src/cargotype.h index b6649658f..4d5ecbe15 100644 --- a/src/cargotype.h +++ b/src/cargotype.h @@ -70,8 +70,8 @@ struct CargoSpec { } /** - * Total number of subsidies, both valid and invalid - * @return length of Subsidy::array + * Total number of cargospecs, both valid and invalid + * @return length of CargoSpec::array */ static FORCEINLINE size_t GetArraySize() { @@ -90,7 +90,7 @@ struct CargoSpec { } private: - static CargoSpec array[NUM_CARGO]; + static CargoSpec array[NUM_CARGO]; ///< Array holding all CargoSpecs friend void SetupCargoForClimate(LandscapeID l); }; |