diff options
author | Darkvater <Darkvater@openttd.org> | 2006-10-14 15:49:43 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2006-10-14 15:49:43 +0000 |
commit | a85d679f545ea7fec03db426ec033e5e83258a91 (patch) | |
tree | 4d65683dddf832ac860c3ff0f26f99db4e9ea997 /town_gui.c | |
parent | 94339a884d1c7eaaecc8a5963cb985ca17d3e7df (diff) | |
download | openttd-a85d679f545ea7fec03db426ec033e5e83258a91.tar.xz |
(svn r6774) -Codechange: Rename the badly named OWNER_SPECTATOR to PLAYER_SPECTATOR and
put it into player.h where it belongs (instead of map.h)
Diffstat (limited to 'town_gui.c')
-rw-r--r-- | town_gui.c | 2 |
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? |