Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4829 in orxonox.OLD


Ignore:
Timestamp:
Jul 9, 2005, 1:11:08 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: shoots are visible again :)

Location:
orxonox/trunk/src
Files:
2 edited

Legend:

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

    r4827 r4829  
    222222  //strcpy(this->worldName, name);
    223223  this->debugWorldNr = worldID;
    224   State::setWorldEntityList(this->entities = new tList<WorldEntity>());
    225   this->cycle = 0;
    226 
    227224}
    228225
     
    255252ErrorMessage World::preLoad()
    256253{
     254  State::setWorldEntityList(this->entities = new tList<WorldEntity>());
     255  this->cycle = 0;
     256
     257
    257258  /* init the world interface */
    258259  WorldInterface* wi = WorldInterface::getInstance();
  • orxonox/trunk/src/world_entities/weapons/test_gun.cc

    r4758 r4829  
    2323#include "test_gun.h"
    2424
    25 #include "stdincl.h"
    2625#include "world_entity.h"
    2726#include "model.h"
    2827#include "test_bullet.h"
    2928
     29#include "state.h"
    3030#include "vector.h"
    3131#include "list.h"
     
    157157  pj->setAbsDir(this->getAbsDir());
    158158  pj->setVelocity(this->getVelocity());
    159   this->worldEntities->add(pj);
     159  State::getWorldEntityList()->add(pj);
    160160  this->localTime = 0;
    161161
Note: See TracChangeset for help on using the changeset viewer.