summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2008-04-04 00:18:23 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2008-04-04 00:18:23 +0000
commit36a53a1d5e3b558dafe200a6929948e7730c94f0 (patch)
treef2b77fc4cfd32e6a9738746f7479302de770d79c /src
parentbcf5c0057dfafbe56f6b83b7300016c57a98041d (diff)
downloadmana-client-36a53a1d5e3b558dafe200a6929948e7730c94f0.tar.gz
mana-client-36a53a1d5e3b558dafe200a6929948e7730c94f0.tar.bz2
mana-client-36a53a1d5e3b558dafe200a6929948e7730c94f0.tar.xz
mana-client-36a53a1d5e3b558dafe200a6929948e7730c94f0.zip
Spawning a particle effect whenever the client sends a move message to the server to visualize the extreme flooding of the server with move message when the user moves with the mouse.
Diffstat (limited to 'src')
-rw-r--r--src/localplayer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index 5cb77692..78dac6f8 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -289,6 +289,7 @@ void LocalPlayer::setDestination(Uint16 x, Uint16 y)
mDestY = y;
Net::GameServer::Player::walk(x, y);
+ particleEngine->addEffect("graphics/particles/hit.particle.xml", x, y);
}
mPickUpTarget = NULL;