summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-12 22:18:55 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-12 22:18:55 +0300
commit91712ca548d273acabed9ef3bee8f917b2a60df3 (patch)
tree820de92c362cd705e18c7b972ba6557284a4d00c /src
parent290aa8f51810e57414f3de2b0d2c3c67e6591c7f (diff)
downloadmanaverse-91712ca548d273acabed9ef3bee8f917b2a60df3.tar.gz
manaverse-91712ca548d273acabed9ef3bee8f917b2a60df3.tar.bz2
manaverse-91712ca548d273acabed9ef3bee8f917b2a60df3.tar.xz
manaverse-91712ca548d273acabed9ef3bee8f917b2a60df3.zip
Fix version for packets CMSG_BATTLE_*.
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/packetsout.inc13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/net/eathena/packetsout.inc b/src/net/eathena/packetsout.inc
index 1c6a819c2..70097950f 100644
--- a/src/net/eathena/packetsout.inc
+++ b/src/net/eathena/packetsout.inc
@@ -62,11 +62,6 @@ packet(CMSG_CHAT_JOIN_CHANNEL, 0x0b07, 0, nullptr);
packet(CMSG_CHAT_PART_CHANNEL, 0x0b09, 0, nullptr);
packet(CMSG_BATTLE_CHAT_MESSAGE, 0x02db, -1, clif->pBattleChat);
-packet(CMSG_BATTLE_REGISTER, 0x08d7, 28, clif->pBGQueueRegister);
-packet(CMSG_BATTLE_REVOKE, 0x08da, 26, clif->pBGQueueRevokeReq);
-packet(CMSG_BATTLE_BEGIN_ACK, 0x08e0, 51, clif->pBGQueueBattleBeginAck);
-packet(CMSG_BATTLE_CHECK_STATE, 0x090a, 26, clif->pBGQueueCheckState);
-
packet(CMSG_CREAYE_CHAT_ROOM, 0x00d5, -1, clif->pCreateChatRoom);
packet(CMSG_LEAVE_CHAT_ROOM, 0x00e3, 2, clif->pChatLeave);
packet(CMSG_SET_CHAT_ROOM_OPTIONS, 0x00de, -1, clif->pChatRoomStatusChange);
@@ -291,6 +286,10 @@ packet(CMSG_BANK_OPEN, 0x0000, 0, nullptr);
packet(CMSG_BANK_CLOSE, 0x0000, 0, nullptr);
packet(CMSG_REQUEST_RANKS, 0x0000, 0, nullptr);
packet(CMSG_PLAYER_FAVORITE_ITEM, 0x0000, 0, nullptr);
+packet(CMSG_BATTLE_REGISTER, 0x0000, 0, nullptr);
+packet(CMSG_BATTLE_REVOKE, 0x0000, 0, nullptr);
+packet(CMSG_BATTLE_BEGIN_ACK, 0x0000, 0, nullptr);
+packet(CMSG_BATTLE_CHECK_STATE, 0x0000, 0, nullptr);
#else
// 20040713
if (packetVersion >= 20040713)
@@ -569,6 +568,10 @@ if (packetVersion >= 20111005)
packet(CMSG_SKILL_USE_POSITION, 0x0369, 10, clif->pUseSkillToPos);
packet(CMSG_SOLVE_CHAR_NAME, 0x0838, 6, clif->pSolveCharName);
packet(CMSG_MOVE_FROM_STORAGE, 0x0897, 8, clif->pMoveFromKafra);
+ packet(CMSG_BATTLE_REGISTER, 0x08d7, 28, clif->pBGQueueRegister);
+ packet(CMSG_BATTLE_REVOKE, 0x08da, 26, clif->pBGQueueRevokeReq);
+ packet(CMSG_BATTLE_BEGIN_ACK, 0x08e0, 51, clif->pBGQueueBattleBeginAck);
+ packet(CMSG_BATTLE_CHECK_STATE, 0x090a, 26, clif->pBGQueueCheckState);
}
// 20111102