summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenpachi Developer <Kenpachi.Developer@gmx.de>2020-06-22 03:01:19 +0200
committerKenpachi Developer <Kenpachi.Developer@gmx.de>2020-06-22 03:01:19 +0200
commit7851f5044beba57396c8889df85401c944b415e1 (patch)
treea85623124f6e8a0504c5a1bcf5c1432163a6a5b2
parentedad604582cbe6b17de7f19a958c38710f5cf9ab (diff)
downloadhercules-7851f5044beba57396c8889df85401c944b415e1.tar.gz
hercules-7851f5044beba57396c8889df85401c944b415e1.tar.bz2
hercules-7851f5044beba57396c8889df85401c944b415e1.tar.xz
hercules-7851f5044beba57396c8889df85401c944b415e1.zip
Add missing configuration messages to clif_parse_LoadEndAck()
-rw-r--r--src/map/clif.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 01f116cc7..4a34b1f0d 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -10954,6 +10954,13 @@ static void clif_parse_LoadEndAck(int fd, struct map_session_data *sd)
#endif
#if PACKETVER_MAIN_NUM >= 20171025 || PACKETVER_RE_NUM >= 20170920
+ clif->zc_config(sd, CZ_CONFIG_CALL, sd->status.allow_call);
+
+ if (sd->pd != NULL)
+ clif->zc_config(sd, CZ_CONFIG_PET_AUTOFEEDING, sd->pd->pet.autofeed);
+ else
+ clif->zc_config(sd, CZ_CONFIG_PET_AUTOFEEDING, false);
+
if (sd->hd != NULL)
clif->zc_config(sd, CZ_CONFIG_HOMUNCULUS_AUTOFEEDING, sd->hd->homunculus.autofeed);
else