Changeset 5996 in orxonox.OLD for trunk/src/story_entities
- Timestamp:
- Dec 9, 2005, 12:31:01 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/story_entities/world.cc
r5982 r5996 71 71 72 72 #include "playable.h" 73 #include "network_manager.h" 74 #include "playable.h" 75 73 76 74 77 SHELL_COMMAND(speed, World, setSpeed); … … 317 320 while( element != NULL) 318 321 { 319 BaseObject* created = (Factory::fabricate(element));322 BaseObject* created = Factory::fabricate(element); 320 323 if( created != NULL ) 321 324 { 322 325 if(created->isA(CL_WORLD_ENTITY)) 323 326 this->spawn(dynamic_cast<WorldEntity*>(created)); 324 PRINTF(4)("Created a %s: %s\n", created->getClassName(), created->getName());327 printf("Created a %s: %s\n", created->getClassName(), created->getName()); 325 328 } 326 329 … … 659 662 // Get remote input 660 663 // Update synchronizables 664 /* NetworkManager::getInstance()->synchronize();*/ 661 665 } 662 666
Note: See TracChangeset
for help on using the changeset viewer.