- Timestamp:
- May 28, 2011, 4:15:12 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/modules/weapons/projectiles/BasicProjectile.cc
r8580 r8635 118 118 { 119 119 ParticleSpawner* effect = new ParticleSpawner(owner->getCreator()); 120 effect->setPosition(entity->getPosition());121 effect->setOrientation(entity->getOrientation());122 120 effect->setDestroyAfterLife(true); 123 121 effect->setSource("Orxonox/Shield"); 124 122 effect->setLifetime(0.5f); 123 victim->attach(effect); 125 124 } 126 125 }
Note: See TracChangeset
for help on using the changeset viewer.