aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-08 17:15:19 -0500
committermegamage <none@none>2009-05-08 17:15:19 -0500
commit80bec6788c0201ffdac960b299c62f30da10f661 (patch)
treeab0d30d4448241bcb0fb3a1ee56b40e2367564f0 /src/game/SpellEffects.cpp
parent2007bbbd95a0db813636fb9004b9f181cd42ec3c (diff)
*Try to fix some bugs about pet spells and talents.
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index d3e34050ece..14b012b6f73 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -4050,13 +4050,6 @@ void Spell::EffectSummonPet(uint32 i)
pet->SetUInt32Value(UNIT_CREATED_BY_SPELL, m_spellInfo->Id);
- // this enables popup window (pet dismiss, cancel), hunter pet additional flags set later
- if(m_caster->GetTypeId() == TYPEID_PLAYER)
- pet->SetUInt32Value(UNIT_FIELD_FLAGS,UNIT_FLAG_PVP_ATTACKABLE);
-
- pet->SetUInt32Value(UNIT_FIELD_PET_NAME_TIMESTAMP, time(NULL));
-
- pet->InitTalentForLevel();
// generate new name for summon pet
std::string new_name=objmgr.GeneratePetName(petentry);
if(!new_name.empty())