From f71ca30040cd2046b0734703c86eec981603833b Mon Sep 17 00:00:00 2001 From: Darkvater Date: Sat, 21 Oct 2006 22:38:50 +0000 Subject: (svn r6878) -Fix r6876 +add network.c, network_client.c --- network.c | 2 +- network_client.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/network.c b/network.c index 3100fda41..4388dc349 100644 --- a/network.c +++ b/network.c @@ -150,7 +150,7 @@ void CDECL NetworkTextMessage(NetworkAction action, uint16 color, bool self_send 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); diff --git a/network_client.c b/network_client.c index c9f5561cf..690429895 100644 --- a/network_client.c +++ b/network_client.c @@ -623,7 +623,7 @@ DEF_CLIENT_RECEIVE_COMMAND(PACKET_SERVER_CHAT) 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 -- cgit v1.2.3-70-g09d2