(svn r3201) -Fix: Allow bribing up to the maximum rating for bribing, don't disable this option at some arbitrary value early
authortron
Wed, 16 Nov 2005 12:25:33 +0000
changeset 2659 4e007ef29d98
parent 2658 4ecf9bbf3258
child 2660 fc0198e23f33
(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
--- a/town_gui.c	Wed Nov 16 12:21:04 2005 +0000
+++ b/town_gui.c	Wed Nov 16 12:25:33 2005 +0000
@@ -52,8 +52,9 @@
 			// 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