src/network/network_gui.cpp
changeset 9354 845e07db4549
parent 9317 f14eb8815829
child 9365 95e9cbc0257e
--- a/src/network/network_gui.cpp	Sun May 25 17:36:49 2008 +0000
+++ b/src/network/network_gui.cpp	Sun May 25 19:17:03 2008 +0000
@@ -1342,7 +1342,7 @@
 
 		if (_network_own_client_index != ci->client_index) {
 			/* 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) {
+			if (IsValidPlayer(_network_playas) && IsValidPlayer(ci->client_playas) && _settings.economy.give_money) {
 				GetString(this->action[i], STR_NETWORK_CLIENTLIST_GIVE_MONEY, lastof(this->action[i]));
 				this->proc[i++] = &ClientList_GiveMoney;
 			}