Changeset 5801 for code/branches/core5/src/orxonox/graphics
- Timestamp:
- Sep 26, 2009, 10:25:03 PM (15 years ago)
- Location:
- code/branches/core5/src/orxonox/graphics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/orxonox/graphics/ParticleEmitter.cc
r5747 r5801 63 63 { 64 64 this->detachOgreObject(this->particles_->getParticleSystem()); 65 delete this->particles_;65 this->particles_->destroy(); 66 66 } 67 67 } … … 101 101 if (this->particles_) 102 102 { 103 delete this->particles_;103 this->particles_->destroy(); 104 104 this->particles_ = 0; 105 105 } -
code/branches/core5/src/orxonox/graphics/ParticleSpawner.cc
r5738 r5801 126 126 void ParticleSpawner::destroyParticleSpawner() 127 127 { 128 delete this;128 this->destroy(); 129 129 } 130 130 }
Note: See TracChangeset
for help on using the changeset viewer.