summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Schwarz <lakitu7@gmail.com>2009-10-07 18:01:50 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:16:42 +0000
commitd68a029e908b1989a3af7788e04009368da9f85d (patch)
tree8323c700747a57073dda76d01472b9d748a5dac9
parent66ea551fb4e1e48962d2a578308d49a52e752110 (diff)
* Remove some experimental code accidentally introduced during the merge
-rw-r--r--src/server/sv_client.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/server/sv_client.c b/src/server/sv_client.c
index 4449f1c8..f164654c 100644
--- a/src/server/sv_client.c
+++ b/src/server/sv_client.c
@@ -1548,13 +1548,6 @@ void SV_UserVoip( client_t *cl, msg_t *msg ) {
else if ( ((i >= 62) && (i < 93)) && ((recip3 & (1 << (i-62))) == 0) )
continue; // not addressed to this player.
- // this is not really the best way to do this
- else if (atoi(Info_ValueForKey(svs.clients[sender].userinfo,
- "cg_voipTeamOnly")) &&
- atoi(Info_ValueForKey(svs.clients[sender].userinfo, "t")) !=
- atoi(Info_ValueForKey(svs.clients[i].userinfo, "t")))
- continue;
-
// Transmit this packet to the client.
// !!! FIXME: I don't like this queueing system.
if (client->queuedVoipPackets >= (sizeof (client->voipPacket) / sizeof (client->voipPacket[0]))) {