(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

@@ -569,7 +569,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 != 24) c->num_valid_stat_ent++;
if (c->num_valid_stat_ent != MAX_HISTORY_MONTHS) c->num_valid_stat_ent++;
UpdateCompanyRatingAndValue(c, true);
if (c->block_preview != 0) c->block_preview--;