diff options
author | rubidium <rubidium@openttd.org> | 2010-01-24 11:05:26 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-01-24 11:05:26 +0000 |
commit | 3d0b3818ddd1c9f825b81596e89a1b1a6baeb975 (patch) | |
tree | d43d57e5de1072570ba2de8fd796354e827a6742 /src/company_base.h | |
parent | b2f9b0ac43a7cf1d6bea1328f3c129912f998492 (diff) | |
download | openttd-3d0b3818ddd1c9f825b81596e89a1b1a6baeb975.tar.xz |
(svn r18908) -Fix [FS#3561]: on bankruptcy the company value did include the loan and as such the value at which you bought the company was too low
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 e43186d85..16fc622c1 100644 --- a/src/company_base.h +++ b/src/company_base.h @@ -107,7 +107,7 @@ struct Company : CompanyPool::PoolItem<&_company_pool> { #define FOR_ALL_COMPANIES_FROM(var, start) FOR_ALL_ITEMS_FROM(Company, company_index, var, start) #define FOR_ALL_COMPANIES(var) FOR_ALL_COMPANIES_FROM(var, 0) -Money CalculateCompanyValue(const Company *c); +Money CalculateCompanyValue(const Company *c, bool including_loan = true); extern uint _next_competitor_start; extern uint _cur_company_tick_index; |