changeset 9071 | af94524402ae |
parent 9068 | 84318afa7067 |
child 9111 | 48ce04029fe4 |
--- a/src/town_cmd.cpp Tue Apr 29 21:31:29 2008 +0000 +++ b/src/town_cmd.cpp Tue Apr 29 23:11:55 2008 +0000 @@ -2300,7 +2300,7 @@ /* 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); } }