*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1282 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2007-09-01 01:57:14 +00:00
parent b8a14a1d5e
commit 1cb3b8a025
+7 -1
View File
@@ -1745,8 +1745,14 @@ void serverslice(uint timeout) // main server update, called from cube main lo
}
ENetEvent event;
if(enet_host_service(serverhost, &event, timeout) > 0)
bool serviced = false;
while(!serviced)
{
if(enet_host_check_events(serverhost, &event) <= 0)
{
if(enet_host_service(serverhost, &event, timeout) <= 0) break;
serviced = true;
}
switch(event.type)
{
case ENET_EVENT_TYPE_CONNECT: