- Timestamp:
- Aug 9, 2013, 9:26:46 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core6/src/modules/weapons/projectiles/BasicProjectile.cc
r9567 r9629 106 106 { 107 107 { 108 ParticleSpawner* effect = new ParticleSpawner(this->getShooter()->getC reator());108 ParticleSpawner* effect = new ParticleSpawner(this->getShooter()->getContext()); 109 109 effect->setPosition(entity->getPosition()); 110 110 effect->setOrientation(entity->getOrientation()); … … 115 115 // Second effect with same condition 116 116 { 117 ParticleSpawner* effect = new ParticleSpawner(this->getShooter()->getC reator());117 ParticleSpawner* effect = new ParticleSpawner(this->getShooter()->getContext()); 118 118 effect->setPosition(entity->getPosition()); 119 119 effect->setOrientation(entity->getOrientation()); … … 127 127 if (victim && victim->hasShield() && (this->getDamage() > 0.0f || this->getShieldDamage() > 0.0f) && victim->getHealth() > 0.0f) 128 128 { 129 ParticleSpawner* effect = new ParticleSpawner(this->getShooter()->getC reator());129 ParticleSpawner* effect = new ParticleSpawner(this->getShooter()->getContext()); 130 130 effect->setDestroyAfterLife(true); 131 131 effect->setSource("Orxonox/Shield");
Note: See TracChangeset
for help on using the changeset viewer.