Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3134


Ignore:
Timestamp:
Jun 9, 2009, 11:15:16 PM (15 years ago)
Author:
scheusso
Message:

small change for huge performance increase

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/netp4/src/network/synchronisable/Synchronisable.cc

    r3088 r3134  
    174174    COUT(4) << "fabricate objectID: " << no->objectID << " classID: " << no->classID << std::endl;
    175175          // update data and create object/entity...
     176    assert( Synchronisable::objectMap_.find(header.getObjectID()) == Synchronisable::objectMap_.end() );
     177    Synchronisable::objectMap_[header.getObjectID()] = no;
    176178    bool b = no->updateData(mem, mode, true);
    177179    assert(b);
Note: See TracChangeset for help on using the changeset viewer.