Changeset - r4908:fff558ab81a8
[Not reviewed]
master
0 2 0
Darkvater - 18 years ago 2006-10-21 22:38:50
darkvater@openttd.org
(svn r6878) -Fix r6876 +add network.c, network_client.c
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
network.c
Show inline comments
 
@@ -150,7 +150,7 @@ void CDECL NetworkTextMessage(NetworkAct
 
				snprintf(message, sizeof(message), "*** %s %s", name, temp);
 
			}
 
			break;
 
		case NETWORK_ACTION_CHAT_PLAYER:
 
		case NETWORK_ACTION_CHAT_COMPANY:
 
			if (self_send) {
 
				SetDParamStr(0, name);
 
				GetString(temp, STR_NETWORK_CHAT_TO_COMPANY);
network_client.c
Show inline comments
 
@@ -623,7 +623,7 @@ DEF_CLIENT_RECEIVE_COMMAND(PACKET_SERVER
 
				snprintf(name, sizeof(name), "%s", ci_to->client_name);
 
				ci = NetworkFindClientInfoFromIndex(_network_own_client_index);
 
				break;
 
			case NETWORK_ACTION_CHAT_PLAYER:
 
			case NETWORK_ACTION_CHAT_COMPANY:
 
			case NETWORK_ACTION_GIVE_MONEY:
 
				/* For speaking to player or give money, we need the player-name */
 
				if (!IsValidPlayer(ci_to->client_playas)) return NETWORK_RECV_STATUS_OKAY; // This should never happen
0 comments (0 inline, 0 general)