diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-12 22:15:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-13 17:41:29 +0300 |
commit | 4126cb4fe777efc94e55c1d2397e417ea9332754 (patch) | |
tree | eb478ebbfab3a6c9e0291b3e02cdf75089f93c3c /src/net/tmwa | |
parent | f06bf7de45d34f27fe5e4384abc4ea0d22bb063f (diff) | |
download | mv-4126cb4fe777efc94e55c1d2397e417ea9332754.tar.gz mv-4126cb4fe777efc94e55c1d2397e417ea9332754.tar.bz2 mv-4126cb4fe777efc94e55c1d2397e417ea9332754.tar.xz mv-4126cb4fe777efc94e55c1d2397e417ea9332754.zip |
Remove duplicate packet id CMSG_PLAYER_ATTACK.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/playerhandler.cpp | 2 | ||||
-rw-r--r-- | src/net/tmwa/protocol.h | 1 |
2 files changed, 1 insertions, 2 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); diff --git a/src/net/tmwa/protocol.h b/src/net/tmwa/protocol.h index 0b158c342..df5425574 100644 --- a/src/net/tmwa/protocol.h +++ b/src/net/tmwa/protocol.h @@ -228,7 +228,6 @@ #define CMSG_PLAYER_CHANGE_ACT 0x0089 #define CMSG_PLAYER_RESTART 0x00b2 #define CMSG_PLAYER_EMOTE 0x00bf -#define CMSG_PLAYER_ATTACK 0x0089 #define CMSG_PLAYER_STOP_ATTACK 0x0118 #define CMSG_WHO_REQUEST 0x00c1 |