Changeset 1559 for code/trunk/src/orxonox/objects/ParticleProjectile.cc
- Timestamp:
- Jun 7, 2008, 2:34:54 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/objects/ParticleProjectile.cc
r1558 r1559 37 37 CreateFactory(ParticleProjectile); 38 38 39 ParticleProjectile::ParticleProjectile(SpaceShip* owner) : BillboardProjectile(owner) , particles_(0)39 ParticleProjectile::ParticleProjectile(SpaceShip* owner) : BillboardProjectile(owner) 40 40 { 41 41 RegisterObject(ParticleProjectile); … … 47 47 this->particles_->getAllEmitters()->setDirection(-this->owner_->getInitialDir()); 48 48 this->particles_->setKeepParticlesInLocalSpace(true); 49 } 50 else 51 { 52 this->particles_ = 0; 49 53 } 50 54 }
Note: See TracChangeset
for help on using the changeset viewer.