From aaed2a41a08945395d28d2223138cecd11771467 Mon Sep 17 00:00:00 2001 From: tron Date: Wed, 16 Nov 2005 12:25:33 +0000 Subject: [PATCH] (svn r3201) -Fix: Allow bribing up to the maximum rating for bribing, don't disable this option at some arbitrary value early --- town_gui.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/town_gui.c b/town_gui.c index 5e742a59a4..92be24b6c9 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