From eb1306110a84eb1cb4f1d755bb9e24b745171749 Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 6 Sep 2009 20:36:17 +0000 Subject: (svn r17435) -Codechange: Move _cargo_payment_rates[] to CargoSpec::current_payment. --- src/cargotype.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/cargotype.h') 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) -- cgit v1.2.3-54-g00ecf