src/network/network_gui.cpp
changeset 10775 7061477bfbcf
parent 10741 6efaa60ef3c6
child 10777 54733fe334c5
equal deleted inserted replaced
10773:88125a991761 10775:7061477bfbcf
  1332 		GetString(this->action[i], STR_NETWORK_CLIENTLIST_SPEAK_TO_ALL, lastof(this->action[i]));
  1332 		GetString(this->action[i], STR_NETWORK_CLIENTLIST_SPEAK_TO_ALL, lastof(this->action[i]));
  1333 		this->proc[i++] = &ClientList_SpeakToAll;
  1333 		this->proc[i++] = &ClientList_SpeakToAll;
  1334 
  1334 
  1335 		if (_network_own_client_index != ci->client_index) {
  1335 		if (_network_own_client_index != ci->client_index) {
  1336 			/* We are no spectator and the player we want to give money to is no spectator and money gifts are allowed */
  1336 			/* We are no spectator and the player we want to give money to is no spectator and money gifts are allowed */
  1337 			if (IsValidPlayer(_network_playas) && IsValidPlayer(ci->client_playas) && _settings.economy.give_money) {
  1337 			if (IsValidPlayer(_network_playas) && IsValidPlayer(ci->client_playas) && _settings_game.economy.give_money) {
  1338 				GetString(this->action[i], STR_NETWORK_CLIENTLIST_GIVE_MONEY, lastof(this->action[i]));
  1338 				GetString(this->action[i], STR_NETWORK_CLIENTLIST_GIVE_MONEY, lastof(this->action[i]));
  1339 				this->proc[i++] = &ClientList_GiveMoney;
  1339 				this->proc[i++] = &ClientList_GiveMoney;
  1340 			}
  1340 			}
  1341 		}
  1341 		}
  1342 
  1342