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 a523b2b06..e89b7da5f 100644
--- a/town_gui.c
+++ b/town_gui.c
@@ -44,7 +44,7 @@ uint GetMaskOfTownActions(int *nump, PlayerID pid, const Town *t)
uint avail_buttons = 0x7F; // by default all buttons except bribe are enabled.
uint buttons = 0;
- if (pid != OWNER_SPECTATOR) {
+ if (pid != PLAYER_SPECTATOR) {
uint i;
// bribe option enabled?