summaryrefslogtreecommitdiff
path: root/src/net/tmwa/playerhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-12 22:15:28 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-13 17:41:29 +0300
commit4126cb4fe777efc94e55c1d2397e417ea9332754 (patch)
treeeb478ebbfab3a6c9e0291b3e02cdf75089f93c3c /src/net/tmwa/playerhandler.cpp
parentf06bf7de45d34f27fe5e4384abc4ea0d22bb063f (diff)
downloadmanaverse-4126cb4fe777efc94e55c1d2397e417ea9332754.tar.gz
manaverse-4126cb4fe777efc94e55c1d2397e417ea9332754.tar.bz2
manaverse-4126cb4fe777efc94e55c1d2397e417ea9332754.tar.xz
manaverse-4126cb4fe777efc94e55c1d2397e417ea9332754.zip
Remove duplicate packet id CMSG_PLAYER_ATTACK.
Diffstat (limited to 'src/net/tmwa/playerhandler.cpp')
-rw-r--r--src/net/tmwa/playerhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tmwa/playerhandler.cpp b/src/net/tmwa/playerhandler.cpp
index d8c7bf356..c4c61bed4 100644
--- a/src/net/tmwa/playerhandler.cpp
+++ b/src/net/tmwa/playerhandler.cpp
@@ -140,7 +140,7 @@ void PlayerHandler::handleMessage(Net::MessageIn &msg)
void PlayerHandler::attack(const int id, const bool keep) const
{
- MessageOut outMsg(CMSG_PLAYER_ATTACK);
+ MessageOut outMsg(CMSG_PLAYER_CHANGE_ACT);
outMsg.writeInt32(id);
if (keep)
outMsg.writeInt8(7);