diff options
| author | Giacomo Pozzoni <giacomopoz@gmail.com> | 2019-08-02 16:09:02 +0200 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-02 16:09:02 +0200 | 
| commit | a0f8ce14e9a7aeceea035a733625cc695909a5bd (patch) | |
| tree | 6071a22534e0738425d177479a5ec1860b2425ef /src/server/game/Spells/SpellEffects.cpp | |
| parent | 543fe77d2e9d8fb94d706513d15981f8a4527e32 (diff) | |
3.3.5 Don't allow to summon dead hunter pets (#23271)
* Core/Player: Add support to SMSG_PET_TAME_FAILURE
* Core/Pet: Don't summon dead pets when using "Call pet"
Diffstat (limited to 'src/server/game/Spells/SpellEffects.cpp')
| -rw-r--r-- | src/server/game/Spells/SpellEffects.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp index fddad903438..8d22a687690 100644 --- a/src/server/game/Spells/SpellEffects.cpp +++ b/src/server/game/Spells/SpellEffects.cpp @@ -2914,7 +2914,7 @@ void Spell::EffectSummonPet(SpellEffIndex effIndex)      float x, y, z;      owner->GetClosePoint(x, y, z, owner->GetCombatReach()); -    Pet* pet = owner->SummonPet(petentry, x, y, z, owner->GetOrientation(), SUMMON_PET, 0); +    Pet* pet = owner->SummonPet(petentry, x, y, z, owner->GetOrientation(), SUMMON_PET, 0, true);      if (!pet)          return;  | 
