diff options
author | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2020-06-22 05:12:32 +0200 |
---|---|---|
committer | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2020-06-22 05:12:32 +0200 |
commit | 2669d54e37bb231866479efd177808ec6ab3eab8 (patch) | |
tree | c5416cd0fac9d632870f6c6176643a779b841785 /src/map/pc.c | |
parent | afdb49e3bd8dc186626c9defe50af5b6dceb9519 (diff) | |
download | hercules-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.c | 4 |
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); |