summaryrefslogtreecommitdiff
path: root/src/company_base.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-05-19 21:03:23 +0000
committerfrosch <frosch@openttd.org>2011-05-19 21:03:23 +0000
commitebb4f0513a3ae252e27295303ab83dd14d9ac885 (patch)
tree0e6e040a62773ac02d3239aa63b8d5462fff1845 /src/company_base.h
parent1e90bc0d30f0276ff0a817d1587d71d9a26c47e4 (diff)
downloadopenttd-ebb4f0513a3ae252e27295303ab83dd14d9ac885.tar.xz
(svn r22479) -Codechange/Fix: Months != quarters. (xi)
Diffstat (limited to 'src/company_base.h')
-rw-r--r--src/company_base.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/company_base.h b/src/company_base.h
index de1bbeb1b..d90e525ed 100644
--- a/src/company_base.h
+++ b/src/company_base.h
@@ -78,10 +78,10 @@ struct CompanyProperties {
*/
bool is_ai;
- Money yearly_expenses[3][EXPENSES_END]; ///< Expenses of the company for the last three years, in every #Expenses category.
- CompanyEconomyEntry cur_economy; ///< Economic data of the company of this quarter.
- CompanyEconomyEntry old_economy[MAX_HISTORY_MONTHS]; ///< Economic data of the company of the last #MAX_HISTORY_MONTHS months.
- byte num_valid_stat_ent; ///< Number of valid statistical entries in #old_economy.
+ Money yearly_expenses[3][EXPENSES_END]; ///< Expenses of the company for the last three years, in every #Expenses category.
+ CompanyEconomyEntry cur_economy; ///< Economic data of the company of this quarter.
+ CompanyEconomyEntry old_economy[MAX_HISTORY_QUARTERS]; ///< Economic data of the company of the last #MAX_HISTORY_QUARTERS quarters.
+ byte num_valid_stat_ent; ///< Number of valid statistical entries in #old_economy.
CompanyProperties() : name(NULL), president_name(NULL) {}