summaryrefslogtreecommitdiff
path: root/src/net/ea/beinghandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea/beinghandler.cpp')
-rw-r--r--src/net/ea/beinghandler.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/net/ea/beinghandler.cpp b/src/net/ea/beinghandler.cpp
index fe42daedc..30dac2ab7 100644
--- a/src/net/ea/beinghandler.cpp
+++ b/src/net/ea/beinghandler.cpp
@@ -425,12 +425,13 @@ void BeingHandler::processPlayerMoveToAttack(Net::MessageIn &msg A_UNUSED)
const
{
BLOCK_START("BeingHandler::processPlayerStop")
- /*
- * This is an *advisory* message, telling the client that
- * it needs to move the character before attacking
- * a target (out of range, obstruction in line of fire).
- * We can safely ignore this...
- */
+ msg.readInt32("target id");
+ msg.readInt16("target x");
+ msg.readInt16("target y");
+ msg.readInt16("x");
+ msg.readInt16("y");
+ msg.readInt16("attack range");
+
if (localPlayer)
localPlayer->fixAttackTarget();
BLOCK_END("BeingHandler::processPlayerStop")