From ff14665f6ebde59e8ef17d8f0e06e2d3e5aefd65 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 30 Sep 2007 17:38:42 +0000 Subject: (svn r11188) -Codechange: rewrite of the town action related code (remove some of the magic). -Feature: possibility to disable exclusive rights and giving money. Both by skidd13. --- src/network/network_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/network') diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp index ef22ba1ad..f81799755 100644 --- a/src/network/network_gui.cpp +++ b/src/network/network_gui.cpp @@ -1264,8 +1264,8 @@ static Window *PopupClientList(Window *w, int client_no, int x, int y) _clientlist_proc[i++] = &ClientList_SpeakToAll; if (_network_own_client_index != ci->client_index) { - /* We are no spectator and the player we want to give money to is no spectator */ - if (IsValidPlayer(_network_playas) && IsValidPlayer(ci->client_playas)) { + /* We are no spectator and the player we want to give money to is no spectator and money gifts are allowed */ + if (IsValidPlayer(_network_playas) && IsValidPlayer(ci->client_playas) && _patches.give_money) { GetString(_clientlist_action[i], STR_NETWORK_CLIENTLIST_GIVE_MONEY, lastof(_clientlist_action[i])); _clientlist_proc[i++] = &ClientList_GiveMoney; } -- cgit v1.2.3-54-g00ecf