summaryrefslogtreecommitdiff
path: root/src/net/eathena/packetsin.inc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-04-07 00:13:10 +0300
committerAndrei Karas <akaras@inbox.ru>2018-04-07 00:22:30 +0300
commit0cd149ef9bcac3d136406e4d90e8875dbb85c925 (patch)
treeece086b51026e90c9bc51b318d5206cf1b3bf958 /src/net/eathena/packetsin.inc
parent2bd8b34e2cc809a0adbebdadf5a777fbb57cf5a8 (diff)
downloadplus-0cd149ef9bcac3d136406e4d90e8875dbb85c925.tar.gz
plus-0cd149ef9bcac3d136406e4d90e8875dbb85c925.tar.bz2
plus-0cd149ef9bcac3d136406e4d90e8875dbb85c925.tar.xz
plus-0cd149ef9bcac3d136406e4d90e8875dbb85c925.zip
Update packet SMSG_FRIENDS_PLAYER_ONLINE for new packet versions.
Diffstat (limited to 'src/net/eathena/packetsin.inc')
-rw-r--r--src/net/eathena/packetsin.inc10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc
index 6fe266937..40e6419ce 100644
--- a/src/net/eathena/packetsin.inc
+++ b/src/net/eathena/packetsin.inc
@@ -1029,12 +1029,16 @@ if (packetVersion >= 20180221)
}
// main 20180307
-if (packets_main == true)
-{
-if (packetVersion >= 20180307)
+if (packetVersionMain >= 20180307)
{
packet(SMSG_SOLVE_CHAR_NAME, 0x0af7, 32, &BeingRecv::processSolveCharName, 20180307);
+ packet(SMSG_FRIENDS_PLAYER_ONLINE, 0x0206, 35, &FriendsRecv::processPlayerOnline, 20180307);
}
+
+// re 20180221
+if (packetVersionRe >= 20180221)
+{
+ packet(SMSG_FRIENDS_PLAYER_ONLINE, 0x0206, 35, &FriendsRecv::processPlayerOnline, 20180221);
}
// 0