(svn r22479) -Codechange/Fix: Months != quarters. (xi)

This commit is contained in:
frosch
2011-05-19 21:03:23 +00:00
parent 1e90bc0d30
commit ebb4f0513a
3 changed files with 6 additions and 6 deletions

View File

@@ -565,7 +565,7 @@ static void CompaniesGenStatistics()
c->old_economy[0] = c->cur_economy;
memset(&c->cur_economy, 0, sizeof(c->cur_economy));
if (c->num_valid_stat_ent != MAX_HISTORY_MONTHS) c->num_valid_stat_ent++;
if (c->num_valid_stat_ent != MAX_HISTORY_QUARTERS) c->num_valid_stat_ent++;
UpdateCompanyRatingAndValue(c, true);
if (c->block_preview != 0) c->block_preview--;