diff options
author | darkvater <darkvater@openttd.org> | 2004-08-10 14:14:00 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2004-08-10 14:14:00 +0000 |
commit | 804f038594ccd7d12b776299038f9bc5809f90e5 (patch) | |
tree | 55ef141185c7dd684c505675aec96c660a9bae71 /town_gui.c | |
parent | efaeb275f78e18d594d9ee8ff04eccd2dc59512c (diff) | |
download | openttd-804f038594ccd7d12b776299038f9bc5809f90e5.tar.xz |
(svn r2) -Fix [993829] UDP Fixes (lucaspiller)
-Fix change 255/0xFF to OWNER_SPECTATOR for
spectator stuff (TrueLight)
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 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. |