town_gui.c
changeset 4848 45f848b46222
parent 4709 a81ab800c25b
child 4912 0f51b47cb983
equal deleted inserted replaced
4847:84e4a64db23c 4848:45f848b46222
    42 	int32 avail, ref;
    42 	int32 avail, ref;
    43 	int num = 0;
    43 	int num = 0;
    44 	uint avail_buttons = 0x7F; // by default all buttons except bribe are enabled.
    44 	uint avail_buttons = 0x7F; // by default all buttons except bribe are enabled.
    45 	uint buttons = 0;
    45 	uint buttons = 0;
    46 
    46 
    47 	if (pid != OWNER_SPECTATOR) {
    47 	if (pid != PLAYER_SPECTATOR) {
    48 		uint i;
    48 		uint i;
    49 
    49 
    50 		// bribe option enabled?
    50 		// bribe option enabled?
    51 		if (_patches.bribe) {
    51 		if (_patches.bribe) {
    52 			// if unwanted, disable everything.
    52 			// if unwanted, disable everything.