(svn r16453) -Fix: Move some code around so a company is no longer used after deleting it

pull/155/head
yexo 15 years ago
parent 05c3a12463
commit e7a087b08b

@ -562,9 +562,8 @@ static void CompaniesGenStatistics()
if (c->num_valid_stat_ent != 24) c->num_valid_stat_ent++;
UpdateCompanyRatingAndValue(c, true);
CompanyCheckBankrupt(c);
if (c->block_preview != 0) c->block_preview--;
CompanyCheckBankrupt(c);
}
InvalidateWindow(WC_INCOME_GRAPH, 0);

Loading…
Cancel
Save