summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorKenpachi Developer <Kenpachi.Developer@gmx.de>2020-06-22 05:12:32 +0200
committerKenpachi Developer <Kenpachi.Developer@gmx.de>2020-06-22 05:12:32 +0200
commit2669d54e37bb231866479efd177808ec6ab3eab8 (patch)
treec5416cd0fac9d632870f6c6176643a779b841785 /src/map/pc.c
parentafdb49e3bd8dc186626c9defe50af5b6dceb9519 (diff)
downloadhercules-2669d54e37bb231866479efd177808ec6ab3eab8.tar.gz
hercules-2669d54e37bb231866479efd177808ec6ab3eab8.tar.bz2
hercules-2669d54e37bb231866479efd177808ec6ab3eab8.tar.xz
hercules-2669d54e37bb231866479efd177808ec6ab3eab8.zip
Send pet's intimacy data only in pet_set_intimate()
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index ca8e35073..ad669c0c8 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -8148,10 +8148,8 @@ static int pc_dead(struct map_session_data *sd, struct block_list *src)
if (sd->status.pet_id > 0 && sd->pd != NULL) {
struct pet_data *pd = sd->pd;
- if (map->list[sd->bl.m].flag.noexppenalty == 0) {
+ if (map->list[sd->bl.m].flag.noexppenalty == 0)
pet->set_intimate(pd, pd->pet.intimate - pd->petDB->die);
- clif->send_petdata(sd, sd->pd, 1, pd->pet.intimate);
- }
if (sd->pd != NULL && sd->pd->target_id != 0) // Unlock all targets.
pet->unlocktarget(sd->pd);