diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-08-03 09:12:23 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-08-03 09:13:53 -0600 |
commit | 7f1483daccb8c648a1188ed1d88e0ea0a2c07d55 (patch) | |
tree | 04e3c632d3e1fb1486e8ded2fb96d99dff974f53 /src/localplayer.cpp | |
parent | 555beaa47612e10adfa0c181c5eafc83c4317c48 (diff) | |
download | mana-7f1483daccb8c648a1188ed1d88e0ea0a2c07d55.tar.gz mana-7f1483daccb8c648a1188ed1d88e0ea0a2c07d55.tar.bz2 mana-7f1483daccb8c648a1188ed1d88e0ea0a2c07d55.tar.xz mana-7f1483daccb8c648a1188ed1d88e0ea0a2c07d55.zip |
Replace a hardcoded particle with EffectManager
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index cb7515dc..18510f49 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -52,8 +52,8 @@ #include "net/specialhandler.h" #include "net/tradehandler.h" -#ifdef TMWSERV_SUPPORT #include "effectmanager.h" +#ifdef TMWSERV_SUPPORT #include "guild.h" //#include "net/tmwserv/gameserver/player.h" @@ -776,8 +776,7 @@ void LocalPlayer::setAttributeBase(int num, int value) if (skillDialog->update(num).empty() || !(value > old)) return; - Particle* effect = particleEngine->addEffect("graphics/particles/skillup.particle.xml", 0, 0); - this->controlParticle(effect); + effectManager->trigger(1, this); } if (statusWindow) |