Changeset - r12041:db8bc7715f0f
[Not reviewed]
master
0 1 0
yexo - 15 years ago 2009-05-27 23:37:47
yexo@openttd.org
(svn r16453) -Fix: Move some code around so a company is no longer used after deleting it
1 file changed with 1 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/economy.cpp
Show inline comments
 
@@ -562,9 +562,8 @@ static void CompaniesGenStatistics()
 
		if (c->num_valid_stat_ent != 24) c->num_valid_stat_ent++;
 

	
 
		UpdateCompanyRatingAndValue(c, true);
 
		if (c->block_preview != 0) c->block_preview--;
 
		CompanyCheckBankrupt(c);
 

	
 
		if (c->block_preview != 0) c->block_preview--;
 
	}
 

	
 
	InvalidateWindow(WC_INCOME_GRAPH, 0);
0 comments (0 inline, 0 general)