Changeset 4382 in orxonox.OLD for orxonox/trunk/src/story_entities
- Timestamp:
- May 29, 2005, 9:04:17 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/story_entities/world.cc
r4349 r4382 381 381 while( element != NULL) 382 382 { 383 WorldEntity* created = (WorldEntity*) loader->fabricate( element);383 WorldEntity* created = dynamic_cast<WorldEntity*>( loader->fabricate( element)); 384 384 if( created != NULL) this->spawn( created); 385 385 // if we load a 'Player' we use it as localPlayer
Note: See TracChangeset
for help on using the changeset viewer.