[10852] Fixed typo in [10847]

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
Feanordev 2010-12-11 02:56:47 +03:00 committed by VladimirMangos
parent 76a6e54e10
commit c5a96cde5f
2 changed files with 2 additions and 2 deletions

View file

@ -4633,7 +4633,7 @@ void Spell::DoSummonGuardian(SpellEffectIndex eff_idx, uint32 forceFaction)
}
// protectors allowed only in single amount
if (petType = PROTECTOR_PET)
if (petType == PROTECTOR_PET)
if (Pet* old_protector = m_caster->GetProtectorPet())
old_protector->Unsummon(PET_SAVE_AS_DELETED, m_caster);

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10851"
#define REVISION_NR "10852"
#endif // __REVISION_NR_H__