diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2008-04-04 00:18:23 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2008-04-04 00:18:23 +0000 |
commit | 36a53a1d5e3b558dafe200a6929948e7730c94f0 (patch) | |
tree | f2b77fc4cfd32e6a9738746f7479302de770d79c /src/localplayer.cpp | |
parent | bcf5c0057dfafbe56f6b83b7300016c57a98041d (diff) | |
download | mana-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/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 1 |
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; |