Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3568 in orxonox.OLD for orxonox/trunk/src


Ignore:
Timestamp:
Mar 16, 2005, 1:27:34 AM (20 years ago)
Author:
patrick
Message:

orxonox/trunk: removed a compiler warning and some minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/story_entities/world.cc

    r3567 r3568  
    7373
    7474  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 is
    93      contained in entities*/
    9475}
    9576
     
    307288
    308289  terrain = new Terrain("../data/worlds/newGround.obj");
    309   terrain->setRelCoor(&Vector(0,-10,0));
     290  terrain->setRelCoor(new Vector(0,-10,0));
    310291  this->spawn(terrain);
    311292  // LIGHT initialisation
Note: See TracChangeset for help on using the changeset viewer.