diff options
author | rubidium <rubidium@openttd.org> | 2007-09-30 17:38:42 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-09-30 17:38:42 +0000 |
commit | ff14665f6ebde59e8ef17d8f0e06e2d3e5aefd65 (patch) | |
tree | 78422746fe8ad53b0a58d7e0952ad6b100782715 /src/network | |
parent | c952f3d5eff35b04df91970e61ef1a50bac769ac (diff) | |
download | openttd-ff14665f6ebde59e8ef17d8f0e06e2d3e5aefd65.tar.xz |
(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.
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/network_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |