summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/localplayer.cpp5
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)