From 7851b5b4ac85d37505cac5ff1f41d419ad98cc12 Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Sat, 11 Nov 2006 16:06:43 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@587 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/client.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/source/src/client.cpp b/source/src/client.cpp index bcc7c57c..05ab8249 100644 --- a/source/src/client.cpp +++ b/source/src/client.cpp @@ -237,12 +237,8 @@ void sendpackettoserv(int chan, ENetPacket *packet) void c2skeepalive() { if(clientnum<0 || !clienthost) return; - if(lastmillis-lastupdate<40) return; - ENetEvent event; - while(clienthost!=NULL && enet_host_service(clienthost, &event, 0)>0) {}; // fixme - - lastupdate = SDL_GetTicks(); + enet_host_service(clienthost, NULL, 0); }; extern string masterpwd;