From c5a96cde5f81bc9d34c76f2f682535c4f00d9a84 Mon Sep 17 00:00:00 2001 From: Feanordev Date: Sat, 11 Dec 2010 02:56:47 +0300 Subject: [PATCH] [10852] Fixed typo in [10847] Signed-off-by: VladimirMangos --- src/game/SpellEffects.cpp | 2 +- src/shared/revision_nr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index a173c009e..b3081ea9c 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -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); diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 1d7e73b40..e9eb20623 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "10851" + #define REVISION_NR "10852" #endif // __REVISION_NR_H__