diff options
author | Jared Adams <jaxad0127@gmail.com> | 2008-10-27 01:32:24 +0000 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2008-10-27 01:32:24 +0000 |
commit | db7eb254e97f1b3560b2e12f12cd2b4ff1828f4a (patch) | |
tree | a387d066c866c1e2f84c4ca46c0ca37bb0280821 /src/localplayer.cpp | |
parent | a602dd13024304ddd5ec36befee25961622a36a8 (diff) | |
download | mana-client-db7eb254e97f1b3560b2e12f12cd2b4ff1828f4a.tar.gz mana-client-db7eb254e97f1b3560b2e12f12cd2b4ff1828f4a.tar.bz2 mana-client-db7eb254e97f1b3560b2e12f12cd2b4ff1828f4a.tar.xz mana-client-db7eb254e97f1b3560b2e12f12cd2b4ff1828f4a.zip |
Add an effects manager (patch by Kage Jittai)
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index 9c1cd743..b6f478a0 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -33,6 +33,7 @@ #include "particle.h" #include "sound.h" #include "log.h" +#include "effectmanager.h" #include "net/gameserver/player.h" #include "net/chatserver/guild.h" @@ -326,7 +327,8 @@ void LocalPlayer::setDestination(Uint16 x, Uint16 y) mDestY = y; Net::GameServer::Player::walk(x, y); - particleEngine->addEffect("graphics/particles/hit.particle.xml", x, y); + //Debugging fire burst + effectManager->trigger(15,x,y); } mPickUpTarget = NULL; |