about summary refs log tree commit diff
path: root/src/game/server
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-03-18 02:14:35 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-03-18 02:14:35 +0000
commit6d07a560a662b336b6c35105b37b6323d0c3ad8b (patch)
tree5f8c8409a0616fccf9f8af9a91fb12fa05bae1b0 /src/game/server
parentc662df41eedb585412e445145b9233e20b2ffe46 (diff)
downloadzcatch-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.cpp3
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)
 	{