Changeset 6275 in orxonox.OLD for branches/network/src/lib/network/network_game_manager.cc
- Timestamp:
- Dec 24, 2005, 2:15:49 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/network_game_manager.cc
r6273 r6275 236 236 } 237 237 238 238 239 if ( b->isA(CL_SYNCHRONIZEABLE) ) 239 240 { … … 372 373 while ( it != e ) 373 374 { 374 if ( (*it)->get RealClassID() != CL_NETWORK_GAME_MANAGER && (*it)->getRealClassID() != CL_HANDSHAKE )375 { 376 377 if ( !writeToClientBuffer( outBuffer[userID], ( *it)->getRealClassID() ) )375 if ( (*it)->getLeafID() != CL_NETWORK_GAME_MANAGER && (*it)->getLeafID() != CL_HANDSHAKE ) 376 { 377 378 if ( !writeToClientBuffer( outBuffer[userID], (int)((*it)->getLeafID()) ) ) 378 379 return; 379 380 … … 425 426 PRINTF(1)("Could not fabricate Object with classID %x\n", classID); 426 427 return; 427 }428 else429 {430 //PRINTF(0)("Fabricated entity: %s\n", b->getClassName());431 428 } 432 429 … … 439 436 if ( !isServer() ) 440 437 s->setIsOutOfSync( true ); 438 PRINTF(0)("Fabricated %s with id %d\n", s->getClassName(), s->getUniqueID()); 441 439 } 442 440 else
Note: See TracChangeset
for help on using the changeset viewer.