Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11880


Ignore:
Timestamp:
Apr 19, 2018, 1:40:45 PM (7 years ago)
Author:
mdedial
Message:

Replace assert by log message.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/Masterserver_FS18/src/libraries/network/Connection.cc

    r11829 r11880  
    3838
    3939#include "packet/Packet.h"
     40#include "util/Output.h"
    4041#include <util/Sleep.h>
    4142
     
    252253        {
    253254          // peer probably already disconnected so just discard packet
    254           assert(event.peerID < this->nextPeerID_);
     255          orxout(message) << "Trying to send packet to peer that is not in peer list. Ignoring packet." << endl;
    255256          enet_packet_destroy(event.packet);
    256257        }
Note: See TracChangeset for help on using the changeset viewer.