Changeset - r9071:53cab06880c8
[Not reviewed]
master
0 1 0
smatz - 17 years ago 2008-04-29 23:11:55
smatz@openttd.org
(svn r12929) -Fix [FS#1967](r12560): town rating was too often reset to Mediocre
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/town_cmd.cpp
Show inline comments
 
@@ -2300,7 +2300,7 @@ static void UpdateTownGrowRate(Town *t)
 
	/* Increase player ratings if they're low */
 
	const Player *p;
 
	FOR_ALL_PLAYERS(p) {
 
		if (p->is_active) {
 
		if (p->is_active && t->ratings[p->index] < RATING_GROWTH_MAXIMUM) {
 
			t->ratings[p->index] = min((int)RATING_GROWTH_MAXIMUM, t->ratings[p->index] + RATING_GROWTH_UP_STEP);
 
		}
 
	}
0 comments (0 inline, 0 general)