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 | |
parent | bcf5c0057dfafbe56f6b83b7300016c57a98041d (diff) | |
download | mana-36a53a1d5e3b558dafe200a6929948e7730c94f0.tar.gz mana-36a53a1d5e3b558dafe200a6929948e7730c94f0.tar.bz2 mana-36a53a1d5e3b558dafe200a6929948e7730c94f0.tar.xz mana-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.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/localplayer.cpp | 1 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2008-04-03 Philipp Sehmisch <tmw@crushnet.org> + + * src/localplayer.cpp: 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. + 2008-04-03 David Athay <ko2fan@gmail.com> * src/localplayer.cpp, src/gui/popupmenu.cpp, src/localplayer.h, 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; |