summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-10-10 21:26:20 +0300
committerAndrei Karas <akaras@inbox.ru>2018-10-22 01:42:43 +0300
commitade1ec3b4581c5671b588067ed6b86fecaf166b5 (patch)
tree55de00f6be5ffa08732490ce44ffc3425248785c
parent2df7202ba89332afb00372a0b95926078059e968 (diff)
downloadhercules-ade1ec3b4581c5671b588067ed6b86fecaf166b5.tar.gz
hercules-ade1ec3b4581c5671b588067ed6b86fecaf166b5.tar.bz2
hercules-ade1ec3b4581c5671b588067ed6b86fecaf166b5.tar.xz
hercules-ade1ec3b4581c5671b588067ed6b86fecaf166b5.zip
Update packet ZC_REMOVE_EFFECT for zero clients.
-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 00ac4ea81..787a9db3b 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -8872,7 +8872,7 @@ static void clif_specialeffect_value(struct block_list *bl, int effect_id, int n
/// @see doc/effect_list.txt
static void clif_removeSpecialEffect(struct block_list *bl, int effectId, enum send_target target)
{
-#if PACKETVER_MAIN_NUM >= 20181002 || PACKETVER_RE_NUM >= 20181002
+#if PACKETVER_MAIN_NUM >= 20181002 || PACKETVER_RE_NUM >= 20181002 || PACKETVER_ZERO_NUM >= 20181010
nullpo_retv(bl);
struct PACKET_ZC_REMOVE_EFFECT p;
@@ -8891,7 +8891,7 @@ static void clif_removeSpecialEffect(struct block_list *bl, int effectId, enum s
static void clif_removeSpecialEffect_single(struct block_list *bl, int effectId, struct block_list *targetBl)
{
-#if PACKETVER_MAIN_NUM >= 20181002 || PACKETVER_RE_NUM >= 20181002
+#if PACKETVER_MAIN_NUM >= 20181002 || PACKETVER_RE_NUM >= 20181002 || PACKETVER_ZERO_NUM >= 20181010
nullpo_retv(bl);
nullpo_retv(targetBl);