summaryrefslogtreecommitdiff
path: root/town_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'town_gui.c')
-rw-r--r--town_gui.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/town_gui.c b/town_gui.c
index 5e742a59a..92be24b6c 100644
--- a/town_gui.c
+++ b/town_gui.c
@@ -52,8 +52,9 @@ uint GetMaskOfTownActions(int *nump, PlayerID pid, const Town *t)
// if unwanted, disable everything.
if (t->unwanted[pid]) {
avail_buttons = 0;
- } else if (t->ratings[pid] < 600)
- SETBIT(avail_buttons, 7); // only bribe if less than excellent
+ } else if (t->ratings[pid] < RATING_BRIBE_MAXIMUM) {
+ SETBIT(avail_buttons, 7); // Allow bribing
+ }
}
// Things worth more than this are not shown