summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-08-29 01:03:49 +0300
committerAndrei Karas <akaras@inbox.ru>2019-09-18 22:31:51 +0300
commite55f9bce0d224ff517d21112bb323872fbc3ba70 (patch)
tree333e3551eb4eb2518c105243a7f20ea52acb22d0 /src/map/clif.c
parentd7a8b4c7b4ff9888635394e1880a9409a179532b (diff)
downloadhercules-e55f9bce0d224ff517d21112bb323872fbc3ba70.tar.gz
hercules-e55f9bce0d224ff517d21112bb323872fbc3ba70.tar.bz2
hercules-e55f9bce0d224ff517d21112bb323872fbc3ba70.tar.xz
hercules-e55f9bce0d224ff517d21112bb323872fbc3ba70.zip
Rollback support for new skill packets in zero. It not added yet
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 1a745d5db..ca29a4397 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -5268,7 +5268,7 @@ static void clif_playerSkillToPacket(struct map_session_data *sd, struct SKILLDA
skillData->sp = 0;
skillData->range2 = 0;
}
-#if PACKETVER_RE_NUM >= 20190807 || PACKETVER_ZERO_NUM >= 20190814
+#if PACKETVER_RE_NUM >= 20190807
if (newSkill)
skillData->level2 = 0;
else
@@ -5419,7 +5419,7 @@ static void clif_skillinfo(struct map_session_data *sd, int skill_id, int inf)
p->sp = 0;
p->range2 = 0;
}
-#if PACKETVER_RE_NUM >= 20190807 || PACKETVER_ZERO_NUM >= 20190814
+#if PACKETVER_RE_NUM >= 20190807
p->level2 = skill_lv;
#endif
if (sd->status.skill[idx].flag == SKILL_FLAG_PERMANENT)