forked from mirror/OpenTTD
(svn r17435) -Codechange: Move _cargo_payment_rates[] to CargoSpec::current_payment.
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user