Changeset 9653 in orxonox.OLD for branches/proxy/src/lib/network/synchronizeable.cc
- Timestamp:
- Aug 1, 2006, 12:39:03 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/synchronizeable.cc
r9636 r9653 126 126 int Synchronizeable::getStateDiff( int userId, byte* data, int maxLength, int stateId, int fromStateId, int priorityTH ) 127 127 { 128 // make sure this user has his history128 // make sure this user has his history or resize for new clients 129 129 if ( (int)sentStates.size() <= userId ) 130 130 sentStates.resize( userId+1 ); … … 133 133 int neededSize = 0; 134 134 135 // calculate the needed space for network packet by summing up 135 136 for ( SyncVarList::iterator it = syncVarList.begin(); it != syncVarList.end(); it++ ) 136 137 {
Note: See TracChangeset
for help on using the changeset viewer.