Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 30, 2015, 1:36:54 PM (9 years ago)
Author:
landauf
Message:

bugfix: after receiving a ClassID packet, the client erases the list of network ids (IdentifierManager::clearNetworkIDs()). afterwards, each Identifier gets its new NetworkID. therefore it's not necessary to call removeIdentifier() - in fact, this led to errors because wrong identifiers were removed (if a another identifier received the same network id from the server already before)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core7/src/libraries/core/class/Identifier.cc

    r10526 r10564  
    126126    void Identifier::setNetworkID(uint32_t id)
    127127    {
    128         IdentifierManager::getInstance().removeIdentifier(this); // remove with old id
    129128        this->networkID_ = id;
    130129        IdentifierManager::getInstance().addIdentifier(this);    // add with new id
Note: See TracChangeset for help on using the changeset viewer.