diff options
author | Ira Rice <irarice@gmail.com> | 2008-10-13 09:34:46 +0000 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2008-10-13 09:34:46 +0000 |
commit | a4d2f2c0373848fa8a886c1dddc6247b81527df3 (patch) | |
tree | b4d0f0dcab4bd9ff06a4cd0613e26f61fffb45ce /src/particle.cpp | |
parent | 1c337aae30b334d99a5ec81269f2c6d35b8004ea (diff) | |
download | mana-a4d2f2c0373848fa8a886c1dddc6247b81527df3.tar.gz mana-a4d2f2c0373848fa8a886c1dddc6247b81527df3.tar.bz2 mana-a4d2f2c0373848fa8a886c1dddc6247b81527df3.tar.xz mana-a4d2f2c0373848fa8a886c1dddc6247b81527df3.zip |
Added mob particle attack effects to mobs. Inspired by the TMW patch in
their
trunk client.
Diffstat (limited to 'src/particle.cpp')
-rw-r--r-- | src/particle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/particle.cpp b/src/particle.cpp index 8591838f..703b34c3 100644 --- a/src/particle.cpp +++ b/src/particle.cpp @@ -226,7 +226,7 @@ Particle::update() Particle* Particle::addEffect(const std::string &particleEffectFile, - int pixelX, int pixelY) + int pixelX, int pixelY, int rotation) { Particle *newParticle = NULL; @@ -290,7 +290,7 @@ Particle::addEffect(const std::string &particleEffectFile, continue; ParticleEmitter *newEmitter; - newEmitter = new ParticleEmitter(emitterNode, newParticle, mMap); + newEmitter = new ParticleEmitter(emitterNode, newParticle, mMap, rotation); newParticle->addEmitter(newEmitter); } |