Changeset 6362 in orxonox.OLD for branches/network/src/world_entities/spawning_point.cc
- Timestamp:
- Dec 30, 2005, 11:28:23 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/world_entities/spawning_point.cc
r6139 r6362 16 16 17 17 #include "spawning_point.h" 18 18 19 #include "load_param.h" 19 20 #include "factory.h" 21 20 22 #include "compiler.h" 21 #include "world.h" /* only temp. until the object manager is implemented*/ 23 22 24 23 25 /** … … 97 99 this->frequency, this->seed); 98 100 BaseObject* spawningEntity = Factory::fabricate(this->classID); 99 if( likely(this->world != NULL)) 100 this->world->spawn(dynamic_cast<WorldEntity*>(spawningEntity)); 101 102 // if( likely(this->world != NULL)) 103 // this->world->spawn(dynamic_cast<WorldEntity*>(spawningEntity)); 101 104 } 102 105
Note: See TracChangeset
for help on using the changeset viewer.