Skip to content

Commit

Permalink
might have kinda fixed the problem
Browse files Browse the repository at this point in the history
  • Loading branch information
fdChasm committed Jun 1, 2010
1 parent 8eb133a commit 71223b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/fpsgame/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1595,13 +1595,13 @@ namespace server
{
//int recentpacketcount;
//enet_uint32 lastpackettime;
string msg;
//string msg;

if (ci->lastpackettime - curtime < 1)
{
ci->recentpacketcount++;
formatstring(msg)("a packet within 1000 millis of last. current count %d", ci->recentpacketcount );
sendservmsg(msg);
//formatstring(msg)("a packet within 1000 millis of last. current count %d", ci->recentpacketcount );
//sendservmsg(msg);
if (ci->recentpacketcount > 5)
{
//disconnect_client(ci->clientnum, DISC_KICK);
Expand Down

0 comments on commit 71223b7

Please sign in to comment.