src/network/network_gui.cpp
changeset 7657 2b55af55cc51
parent 7441 161822860e62
child 7824 5a63d41b59ea
--- a/src/network/network_gui.cpp	Sun Sep 30 15:37:24 2007 +0000
+++ b/src/network/network_gui.cpp	Sun Sep 30 17:38:42 2007 +0000
@@ -1264,8 +1264,8 @@
 	_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;
 		}