1
0
Fork 0

(svn r3201) -Fix: Allow bribing up to the maximum rating for bribing, don't disable this option at some arbitrary value early

release/0.4.5
tron 2005-11-16 12:25:33 +00:00
parent 7a7847ed61
commit aaed2a41a0
1 changed files with 3 additions and 2 deletions

View File

@ -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