author | smatz |
Tue, 29 Apr 2008 23:11:55 +0000 | |
changeset 10387 | b452b4949cca |
parent 10382 | d1d4452acbfc |
child 10388 | e21a5b763f76 |
src/town_cmd.cpp | file | annotate | diff | comparison | revisions |
--- 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); } }