diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-08-16 06:36:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-08-21 22:36:42 +0300 |
commit | 1a4e375c7490ed474c3be74b43b120f3aee07c16 (patch) | |
tree | b2e24b0bd9da5f68a432c0da732a25e48b797004 /src/map/clif.c | |
parent | 63fd2cf8d4aa3059d54caf0dca32f6a501967a3c (diff) | |
download | hercules-1a4e375c7490ed474c3be74b43b120f3aee07c16.tar.gz hercules-1a4e375c7490ed474c3be74b43b120f3aee07c16.tar.bz2 hercules-1a4e375c7490ed474c3be74b43b120f3aee07c16.tar.xz hercules-1a4e375c7490ed474c3be74b43b120f3aee07c16.zip |
Update skill related packets for zero
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 9ae65a51f..00b3e77ed 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 +#if PACKETVER_RE_NUM >= 20190807 || PACKETVER_ZERO_NUM >= 20190814 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 +#if PACKETVER_RE_NUM >= 20190807 || PACKETVER_ZERO_NUM >= 20190814 p->level2 = skill_lv; #endif if (sd->status.skill[idx].flag == SKILL_FLAG_PERMANENT) |