(svn r17058) -Codechange: magic numbers removal.

Two values used intead of just one, as it gives more possibilities to those who dare...
This commit is contained in:
belugas
2009-08-03 20:02:25 +00:00
parent 37d01c7758
commit a2b996106e
4 changed files with 8 additions and 3 deletions

View File

@@ -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)