diff options
author | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2020-02-15 05:26:52 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2020-04-05 21:20:35 +0200 |
commit | 745dc5a2e2e32359e3a78cdac412e93b4ad940b5 (patch) | |
tree | 1329cd162090140adac4324c0f34ff3bdd96e779 /src/map/status.c | |
parent | 7b33fb29e0b5014e9765ef091c6c27911c2ea636 (diff) | |
download | hercules-745dc5a2e2e32359e3a78cdac412e93b4ad940b5.tar.gz hercules-745dc5a2e2e32359e3a78cdac412e93b4ad940b5.tar.bz2 hercules-745dc5a2e2e32359e3a78cdac412e93b4ad940b5.tar.xz hercules-745dc5a2e2e32359e3a78cdac412e93b4ad940b5.zip |
Remove pet_equip_min_friendly config setting
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c index bee5645ad..d290eb0e6 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -2581,7 +2581,7 @@ static int status_calc_pc_(struct map_session_data *sd, enum e_status_calc_opt o if( sd->pd ) { // Pet Bonus struct pet_data *pd = sd->pd; - if( pd && pd->petDB && pd->petDB->equip_script && pd->pet.intimate >= battle_config.pet_equip_min_friendly ) + if (pd != NULL && pd->petDB != NULL && pd->petDB->equip_script != NULL) script->run(pd->petDB->equip_script,0,sd->bl.id,0); if (pd && pd->pet.intimate > PET_INTIMACY_NONE && (!battle_config.pet_equip_required || pd->pet.equip > 0) && pd->state.skillbonus == 1 && pd->bonus) pc->bonus(sd,pd->bonus->type, pd->bonus->val); |