From 804f038594ccd7d12b776299038f9bc5809f90e5 Mon Sep 17 00:00:00 2001 From: darkvater Date: Tue, 10 Aug 2004 14:14:00 +0000 Subject: (svn r2) -Fix [993829] UDP Fixes (lucaspiller) -Fix change 255/0xFF to OWNER_SPECTATOR for spectator stuff (TrueLight) --- town_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'town_gui.c') 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. -- cgit v1.2.3-54-g00ecf