diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 8471096fd..bf58484f8 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -5556,7 +5556,6 @@ void Spell::EffectTameCreature(SpellEffectIndex /*eff_idx*/) pet->SetCreatorGuid(plr->GetObjectGuid()); pet->setFaction(plr->getFaction()); pet->SetUInt32Value(UNIT_CREATED_BY_SPELL, m_spellInfo->Id); - pet->SetUInt32Value(UNIT_FIELD_FLAGS, UNIT_FLAG_PVP_ATTACKABLE); if (plr->IsPvP()) pet->SetPvP(true); @@ -5697,10 +5696,6 @@ void Spell::EffectSummonPet(SpellEffectIndex eff_idx) NewSummon->GetCharmInfo()->SetPetNumber(pet_number, true); // this enables pet details window (Shift+P) - // this enables popup window (pet dismiss, cancel), hunter pet additional flags set later - if(m_caster->GetTypeId() == TYPEID_PLAYER) - NewSummon->SetUInt32Value(UNIT_FIELD_FLAGS, UNIT_FLAG_PVP_ATTACKABLE); - if(m_caster->IsPvP()) NewSummon->SetPvP(true); diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index bf78bd94c..0a315f7f7 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "11579" + #define REVISION_NR "11580" #endif // __REVISION_NR_H__