author | smatz |
Tue, 29 Apr 2008 23:11:55 +0000 | |
changeset 9071 | af94524402ae |
parent 9070 | dd0121143eba |
child 9072 | c4126d1e01cf |
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); } }