diff options
author | celestar <celestar@openttd.org> | 2005-01-14 09:20:12 +0000 |
---|---|---|
committer | celestar <celestar@openttd.org> | 2005-01-14 09:20:12 +0000 |
commit | febac23b25e468dbdc7491477d51458fff9e16ca (patch) | |
tree | ffb100e443120f881e94596910bf6feb7421f6ca /town_gui.c | |
parent | 9e10458209fb9eaabb9192383614d950b572083c (diff) | |
download | openttd-febac23b25e468dbdc7491477d51458fff9e16ca.tar.xz |
(svn r1504) enummed town ratings (Jango)
Diffstat (limited to 'town_gui.c')
-rw-r--r-- | town_gui.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/town_gui.c b/town_gui.c index 171294732..b4da4c432 100644 --- a/town_gui.c +++ b/town_gui.c @@ -119,13 +119,13 @@ static void TownAuthorityWndProc(Window *w, WindowEvent *e) SetDParam(2, GetPlayerNameString(p->index, 3)); r = t->ratings[p->index]; - (str = STR_3035_APPALLING, r <= -400) || // Apalling - (str++, r <= -200) || // Very Poor - (str++, r <= 0) || // Poor - (str++, r <= 200) || // Mediocore - (str++, r <= 400) || // Good - (str++, r <= 600) || // Very Good - (str++, r <= 800) || // Excellent + (str = STR_3035_APPALLING, r <= RATING_APPALLING) || // Apalling + (str++, r <= RATING_VERYPOOR) || // Very Poor + (str++, r <= RATING_POOR) || // Poor + (str++, r <= RATING_MEDIOCRE) || // Mediocore + (str++, r <= RATING_GOOD) || // Good + (str++, r <= RATING_VERYGOOD) || // Very Good + (str++, r <= RATING_EXCELLENT) || // Excellent (str++, true); // Outstanding /* WARNING ugly hack! |