Changeset 8306 in orxonox.OLD for branches/network/src
- Timestamp:
- Jun 10, 2006, 11:15:35 AM (18 years ago)
- Location:
- branches/network/src/lib/network
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/network_game_manager.cc
r8301 r8306 194 194 195 195 assert( Converter::intToByteArray( uniqueId, buf, INTSIZE ) == INTSIZE ); 196 196 197 197 MessageManager::getInstance()->sendMessage( MSGID_DELETESYNCHRONIZEABLE, buf, INTSIZE, RT_ALL_NOT_ME, 0, MP_HIGHBANDWIDTH ); 198 198 } -
branches/network/src/lib/network/synchronizeable.cc
r8301 r8306 70 70 this->networkStream->disconnectSynchronizeable(*this); 71 71 72 if ( this->isServer() && this->beSynchronized() && this->getUniqueID() > 0 )72 if ( this->isServer() && this->beSynchronized() && this->getUniqueID() > 0 && !this->isA( CL_MESSAGE_MANAGER ) ) 73 73 NetworkGameManager::getInstance()->removeSynchronizeable( this->getUniqueID() ); 74 74 … … 226 226 (*it)->checkPermission( PERMISSION_ALL ) 227 227 ); 228 if ( sizeIter != stateFrom->sizeList.end() || *sizeIter != (*it)->getSize() ) 228 229 if ( sizeIter != stateFrom->sizeList.end() || ( sizeIter != stateFrom->sizeList.end() && *sizeIter != (*it)->getSize() ) ) 229 230 sizeChanged = true; 230 231
Note: See TracChangeset
for help on using the changeset viewer.