diff options
author | belugas <belugas@openttd.org> | 2009-08-03 20:02:25 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2009-08-03 20:02:25 +0000 |
commit | a2b996106ea25c97ece3e724c10d9d1b9e1d5aa2 (patch) | |
tree | 5cc371e6bbe7677dccd271c6c169145d51722d73 /src/company_base.h | |
parent | 37d01c7758d018bfd2d29b623f83bde080598233 (diff) | |
download | openttd-a2b996106ea25c97ece3e724c10d9d1b9e1d5aa2.tar.xz |
(svn r17058) -Codechange: magic numbers removal.
Two values used intead of just one, as it gives more possibilities to those who dare...
Diffstat (limited to 'src/company_base.h')
-rw-r--r-- | src/company_base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/company_base.h b/src/company_base.h index 35a2e918c..481c1aa01 100644 --- a/src/company_base.h +++ b/src/company_base.h @@ -75,7 +75,7 @@ struct Company : CompanyPool::PoolItem<&_company_pool> { Money yearly_expenses[3][EXPENSES_END]; CompanyEconomyEntry cur_economy; - CompanyEconomyEntry old_economy[24]; + CompanyEconomyEntry old_economy[MAX_HISTORY_MONTHS]; EngineRenewList engine_renew_list; ///< Defined later CompanySettings settings; ///< settings specific for each company uint16 *num_engines; ///< caches the number of engines of each type the company owns (no need to save this) |