Skip to content

Commit

Permalink
* Remove some experimental code accidentally introduced during the merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Schwarz authored and timangus committed Jan 3, 2013
1 parent 66ea551 commit d68a029
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/server/sv_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -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]))) {
Expand Down

0 comments on commit d68a029

Please sign in to comment.