Changeset 6400 for code/branches/presentation2/src/libraries/network/packet
- Timestamp:
- Dec 22, 2009, 10:05:38 PM (15 years ago)
- Location:
- code/branches/presentation2/src/libraries/network/packet
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/libraries/network/packet/ClassID.cc
r6394 r6400 57 57 std::map<std::string, Identifier*>::const_iterator it = Identifier::getStringIdentifierMapBegin(); 58 58 for(;it != Identifier::getStringIdentifierMapEnd();++it){ 59 id = (*it).second;59 id = it->second; 60 60 if(id == NULL || !id->hasFactory()) 61 61 continue; -
code/branches/presentation2/src/libraries/network/packet/Gamestate.cc
r6394 r6400 534 534 SynchronisableHeader oldobjectheader(origdata); 535 535 SynchronisableHeader newobjectheader(newdata); 536 if ( (*it).objSize == 0 )536 if ( it->objSize == 0 ) 537 537 { 538 538 ++it; … … 541 541 objectsize = oldobjectheader.getDataSize(); 542 542 objectOffset=SynchronisableHeader::getSize(); //skip the size and the availableData variables in the objectheader 543 if ( (*it).objID == oldobjectheader.getObjectID() ){543 if ( it->objID == oldobjectheader.getObjectID() ){ 544 544 memcpy(newdata, origdata, objectsize); 545 545 assert(newobjectheader.isDataAvailable()==true);
Note: See TracChangeset
for help on using the changeset viewer.