Skip to content

Commit

Permalink
[c12710] Enable resummoning of warlock pets
Browse files Browse the repository at this point in the history
Signed-off-by: Schmoozerd <schmoozerd@cmangos.net>

(based on commit [12518] - 899da20)
  • Loading branch information
rowman authored and Dramacydal committed Aug 19, 2013
1 parent 234029a commit b0a9720
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/game/SpellEffects.cpp
Expand Up @@ -6272,7 +6272,7 @@ void Spell::EffectSummonPet(SpellEffectEntry const* effect)
// if pet requested type already exist
if (OldSummon)
{
if (petentry == 0 || OldSummon->GetEntry() == petentry)
if ((petentry == 0 || OldSummon->GetEntry() == petentry) && OldSummon->getPetType() != SUMMON_PET)
{
// pet in corpse state can't be summoned
if (OldSummon->isDead())
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "12709"
#define REVISION_NR "12710"
#endif // __REVISION_NR_H__

0 comments on commit b0a9720

Please sign in to comment.