summaryrefslogtreecommitdiff
path: root/town_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'town_gui.c')
-rw-r--r--town_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/town_gui.c b/town_gui.c
index a3ffec2d2..ca89593b8 100644
--- a/town_gui.c
+++ b/town_gui.c
@@ -29,7 +29,7 @@ static uint GetMaskOfTownActions(int *nump, Town *t)
uint avail_buttons = 0x7F; // by default all buttons except bribe are enabled.
uint buttons;
- if (_local_player != 0xff) {
+ if (_local_player != OWNER_SPECTATOR) {
// bribe option enabled?
if (_patches.bribe) {
// if unwanted, disable everything.