Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 30, 2008, 2:44:48 AM (16 years ago)
Author:
landauf
Message:

added two more graphical classes, ParticleEmitter and ParticleSpawner

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/orxonox/objects/worldentities/WorldEntity.h

    r2040 r2065  
    134134                { parent->attach(this); }
    135135            inline void detachFromParent()
    136                 { this->parent_->detach(this); }
     136                { if (this->parent_) { this->parent_->detach(this); } }
    137137            inline WorldEntity* getParent() const
    138138                { return this->parent_; }
Note: See TracChangeset for help on using the changeset viewer.