Changeset 9906 in orxonox.OLD for branches/network/src/lib/network/network_stream.cc
- Timestamp:
- Oct 28, 2006, 10:40:56 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/network_stream.cc
r9869 r9906 1188 1188 if( NullParent::staticClassID() == leafClassId || Synchronizeable::staticClassID() == leafClassId || NetworkGameManager::staticClassID() == leafClassId) 1189 1189 { 1190 PRINTF( 1)("Don't create Object with ID %x, ignored!\n", (int)leafClassId);1190 PRINTF(0)("Don't create Object with ID %d, ignored!\n", (int)leafClassId); 1191 1191 offset += syncDataLength; 1192 1192 continue; … … 1194 1194 else 1195 1195 ; /// FIXME CLASS_ID :: b = Factory::fabricate( leafClassId ); 1196 1196 b = Factory::fabricate( ObjectListBase::retrieveIdentity( leafClassId ) ); 1197 1197 if ( !b ) 1198 1198 { 1199 PRINTF(1)("Could not fabricate Object with classID % x\n", leafClassId);1199 PRINTF(1)("Could not fabricate Object with classID %d\n", leafClassId); 1200 1200 offset += syncDataLength; 1201 1201 continue; … … 1208 1208 sync->setSynchronized(true); 1209 1209 1210 PRINTF( 0)("Fabricated %s with id %d\n", sync->getClassCName(), sync->getUniqueID());1210 PRINTF(1)("Fabricated %s with id %d\n", sync->getClassCName(), sync->getUniqueID()); 1211 1211 } 1212 1212 else 1213 1213 { 1214 PRINTF(1)("Class with ID % xis not a synchronizeable!\n", (int)leafClassId);1214 PRINTF(1)("Class with ID %d is not a synchronizeable!\n", (int)leafClassId); 1215 1215 delete b; 1216 1216 offset += syncDataLength;
Note: See TracChangeset
for help on using the changeset viewer.