summaryrefslogtreecommitdiff
path: root/src/net/eathena/packetsout.inc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-11 18:26:21 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-11 18:26:21 +0300
commit58de724683af04b627fbe5fb435b8771c77cdf50 (patch)
treec7a58234d1b721ba291442c2827ee5278beaea69 /src/net/eathena/packetsout.inc
parentcd02cce9c9b344c67b05b9b70f944bbed600c62e (diff)
downloadManaVerse-58de724683af04b627fbe5fb435b8771c77cdf50.tar.gz
ManaVerse-58de724683af04b627fbe5fb435b8771c77cdf50.tar.bz2
ManaVerse-58de724683af04b627fbe5fb435b8771c77cdf50.tar.xz
ManaVerse-58de724683af04b627fbe5fb435b8771c77cdf50.zip
Fix added MAIL2 packets limits by packet version and plugin version.
Diffstat (limited to 'src/net/eathena/packetsout.inc')
-rw-r--r--src/net/eathena/packetsout.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/eathena/packetsout.inc b/src/net/eathena/packetsout.inc
index b26a6ef9d..29e741669 100644
--- a/src/net/eathena/packetsout.inc
+++ b/src/net/eathena/packetsout.inc
@@ -1378,6 +1378,9 @@ if (packetVersion == 20140416)
packet(CMSG_SKILL_USE_BEING, 0x083c, 10, clif->pUseSkillToId);
packet(CMSG_STORAGE_PASSWORD, 0x095c, 36, clif->pStoragePassword);
packet(CMSG_NAME_REQUEST, 0x096a, 6, clif->pGetCharNameRequest);
+}
+if (packetVersion >= 20140416)
+{
packet(CMSG_MAIL2_OPEN_WRITE_MAIL, 0x0a08, 26, clif->pRodexOpenWriteMail);
packet(CMSG_MAIL2_ADD_ITEM_TO_MAIL, 0x0a04, 6, clif->pRodexAddItem);
packet(CMSG_MAIL2_REMOVE_ITEM_MAIL, 0x0a06, 6, clif->pRodexRemoveItem);