Changeset 5800 for code/branches/core5/src/modules/weapons/projectiles
- Timestamp:
- Sep 26, 2009, 10:21:26 PM (15 years ago)
- Location:
- code/branches/core5/src/modules/weapons/projectiles
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/modules/weapons/projectiles/ParticleProjectile.cc
r5738 r5800 59 59 { 60 60 this->detachOgreObject(this->particles_->getParticleSystem()); 61 delete this->particles_;61 this->particles_->destroy(); 62 62 } 63 63 } -
code/branches/core5/src/modules/weapons/projectiles/Projectile.cc
r5738 r5800 84 84 85 85 if (this->bDestroy_) 86 delete this;86 this->destroy(); // TODO: use a scheduler instead of deleting the object right here in tick() 87 87 } 88 88 … … 90 90 { 91 91 if (GameMode::isMaster()) 92 delete this;92 this->destroy(); 93 93 } 94 94
Note: See TracChangeset
for help on using the changeset viewer.