diff options
author | frosch <frosch@openttd.org> | 2009-09-06 20:36:17 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2009-09-06 20:36:17 +0000 |
commit | eb1306110a84eb1cb4f1d755bb9e24b745171749 (patch) | |
tree | f58ce88620c1ad6c1640c0f9ed19659ca8d35ded /src/cargotype.h | |
parent | 00ed9c83eed27ca566b526cd06922e108c511e1d (diff) | |
download | openttd-eb1306110a84eb1cb4f1d755bb9e24b745171749.tar.xz |
(svn r17435) -Codechange: Move _cargo_payment_rates[] to CargoSpec::current_payment.
Diffstat (limited to 'src/cargotype.h')
-rw-r--r-- | src/cargotype.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cargotype.h b/src/cargotype.h index 385c73baf..a960b5764 100644 --- a/src/cargotype.h +++ b/src/cargotype.h @@ -12,6 +12,7 @@ #ifndef CARGOTYPE_H #define CARGOTYPE_H +#include "economy_type.h" #include "cargo_type.h" #include "gfx_type.h" #include "strings_type.h" @@ -57,6 +58,8 @@ struct CargoSpec { const struct GRFFile *grffile; ///< NewGRF where 'group' belongs to const struct SpriteGroup *group; + Money current_payment; + /** * Determines index of this cargospec * @return index (in the CargoSpec::array array) |