Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 24, 2018, 3:24:00 PM (6 years ago)
Author:
mdedial
Message:

Clean up code, remove TODOs and dead code.

File:
1 edited

Legend:

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

    r11829 r11990  
    3939namespace orxonox
    4040{
    41 
    42   // TODO: Calls to the Connection superclass are done as follows:
    43   // Connection::startCommunicationThread()
    44   // However, these methods are not overridden.
    45   // Why can't we just do this->startCommunicationThread()?
    46 
    4741  /**
    4842   * Constructor
     
    131125  {
    132126    this->bListening_ = false;
    133     disconnectClients();
     127    this->disconnectClients();
    134128    Connection::stopCommunicationThread();
    135129    enet_host_destroy(this->host_);
     
    142136   * @param clientID The ID of the recipient
    143137   * @param channelID The channel ID
    144    * TODO: Not sure yet how this actually works
    145138   */
    146139  void ServerConnection::addPacket(ENetPacket *packet, unsigned int clientID, uint8_t channelID)
     
    148141    if (clientID == NETWORK_PEER_ID_BROADCAST)
    149142    {
    150       broadcastPacket(packet, channelID);
     143      this->broadcastPacket(packet, channelID);
    151144    }
    152145    else
Note: See TracChangeset for help on using the changeset viewer.