diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/SpellEffects.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 053130fed90..b6eb82bb7d9 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -3914,14 +3914,16 @@ void Spell::EffectSummonPet(uint32 i) owner = m_originalCaster->GetCharmerOrOwnerPlayerOrPlayerItself(); } + uint32 petentry = m_spellInfo->EffectMiscValue[i]; + if(!owner) { - EffectSummonWild(i); + SummonPropertiesEntry const *properties = sSummonPropertiesStore.LookupEntry(67); + if(properties) + SummonGuardian(petentry, properties); return; } - uint32 petentry = m_spellInfo->EffectMiscValue[i]; - Pet *OldSummon = owner->GetPet(); // if pet requested type already exist |