diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-03-18 02:14:35 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-03-18 02:14:35 +0000 |
| commit | 6d07a560a662b336b6c35105b37b6323d0c3ad8b (patch) | |
| tree | 5f8c8409a0616fccf9f8af9a91fb12fa05bae1b0 /src/game/server | |
| parent | c662df41eedb585412e445145b9233e20b2ffe46 (diff) | |
| download | zcatch-6d07a560a662b336b6c35105b37b6323d0c3ad8b.tar.gz zcatch-6d07a560a662b336b6c35105b37b6323d0c3ad8b.zip | |
fixed so that you can bind chat to enter and it still works
Diffstat (limited to 'src/game/server')
| -rw-r--r-- | src/game/server/gs_server.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/server/gs_server.cpp b/src/game/server/gs_server.cpp index 816e2531..049268c6 100644 --- a/src/game/server/gs_server.cpp +++ b/src/game/server/gs_server.cpp @@ -2070,13 +2070,12 @@ void mods_message(int msgtype, int client_id) if(msgtype == NETMSGTYPE_CL_SAY) { NETMSG_CL_SAY *msg = (NETMSG_CL_SAY *)rawmsg; - int team = msg->team; if(team) team = players[client_id].team; else team = -1; - send_chat(client_id, msg->team, msg->message); + send_chat(client_id, team, msg->message); } else if (msgtype == NETMSGTYPE_CL_SETTEAM) { |