diff options
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! |