From d4695c9db554a31921fc7bea0af49d485277ad00 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 6 Sep 2018 19:40:23 +0300 Subject: Drop support for plugin version 14. --- src/net/eathena/skillrecv.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/net/eathena/skillrecv.cpp b/src/net/eathena/skillrecv.cpp index 609f71250..6307cb3ab 100644 --- a/src/net/eathena/skillrecv.cpp +++ b/src/net/eathena/skillrecv.cpp @@ -68,7 +68,7 @@ namespace EAthena void SkillRecv::processPlayerSkills(Net::MessageIn &msg) { msg.readInt16("len"); - const int sz = (serverVersion >= 15) ? 41 : 37; + const int sz = (serverVersion > 0) ? 41 : 37; const int skillCount = (msg.getLength() - 4) / sz; int updateSkill = 0; @@ -79,7 +79,7 @@ void SkillRecv::processPlayerSkills(Net::MessageIn &msg) const int skillId = msg.readInt16("skill id"); const SkillType::SkillType inf = static_cast( msg.readInt32("inf")); - if (serverVersion >= 15) + if (serverVersion > 0) msg.readInt32("inf2"); const int level = msg.readInt16("skill level"); const int sp = msg.readInt16("sp"); -- cgit v1.2.3-70-g09d2