Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 10, 2010, 8:13:57 PM (14 years ago)
Author:
scheusso
Message:

some optimisations (mostly including gamestateheader inside gamestate)

File:
1 edited

Legend:

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

    r7497 r7754  
    321321      mem += SynchronisableHeader::getSize();
    322322      std::vector<SynchronisableVariableBase *>::iterator i;
    323       for(i=syncList_.begin(); i!=syncList_.end(); i++)
     323      for(i=syncList_.begin(); i!=syncList_.end(); ++i)
    324324      {
    325325        assert( mem <= data+syncHeader2.getDataSize()+SynchronisableHeader::getSize() ); // always make sure we don't exceed the datasize in our stream
Note: See TracChangeset for help on using the changeset viewer.