Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 10, 2009, 12:56:55 AM (15 years ago)
Author:
scheusso
Message:

more consistent client disconnection handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core5/src/libraries/network/ServerConnection.cc

    r5851 r5926  
    130130          break;
    131131        case ENET_EVENT_TYPE_DISCONNECT:
    132           if(ClientInformation::findClient(&(event.peer->address)))
    133             delete ClientInformation::findClient(&(event.peer->address));
     132          removePeer( &event );
    134133          temp = ClientInformation::getBegin();
    135134          break;
Note: See TracChangeset for help on using the changeset viewer.