summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--src/localplayer.cpp1
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index bffdd1c0..6c989157 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;