Changeset 3568 in orxonox.OLD for orxonox/trunk/src/story_entities
- Timestamp:
- Mar 16, 2005, 1:27:34 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/story_entities/world.cc
r3567 r3568 73 73 74 74 delete this->trackManager; 75 76 77 /*78 WorldEntity* entity = entities->enumerate();79 while( entity != NULL )80 {81 entity->destroy();82 entity = entities->nextElement();83 }84 this->entities->destroy();85 */86 87 /* FIX the parent list has to be cleared - not possible if we got the old list also*/88 89 90 //delete this->entities;91 //delete this->localCamera;92 /* this->localPlayer hasn't to be deleted explicitly, it is93 contained in entities*/94 75 } 95 76 … … 307 288 308 289 terrain = new Terrain("../data/worlds/newGround.obj"); 309 terrain->setRelCoor( &Vector(0,-10,0));290 terrain->setRelCoor(new Vector(0,-10,0)); 310 291 this->spawn(terrain); 311 292 // LIGHT initialisation
Note: See TracChangeset
for help on using the changeset viewer.