diff options
| author | Meji <alvaromegias_46@hotmail.com> | 2021-11-16 11:51:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-16 11:51:05 +0100 |
| commit | a832435b9787c1997da87a124ff99bf06251aa07 (patch) | |
| tree | ce0f6a516b0e3d9f36ab5b567d8e7575e83256d6 /src/server/game/Spells/SpellMgr.cpp | |
| parent | 9451f8058384fc98725018ba50732c62710078c0 (diff) | |
Core/Spells: Implemented SummonPropertiesFlags: UseSummonerFaction & IgnoreSummonerPhase (#27273)
Diffstat (limited to 'src/server/game/Spells/SpellMgr.cpp')
| -rw-r--r-- | src/server/game/Spells/SpellMgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp index 6824392d3d0..1dea10aee2e 100644 --- a/src/server/game/Spells/SpellMgr.cpp +++ b/src/server/game/Spells/SpellMgr.cpp @@ -2501,7 +2501,7 @@ void SpellMgr::LoadSpellInfoStore() if (effect->Effect == SPELL_EFFECT_SUMMON) if (SummonPropertiesEntry const* summonProperties = sSummonPropertiesStore.LookupEntry(effect->EffectMiscValue[1])) - if (summonProperties->Slot == SUMMON_SLOT_MINIPET && summonProperties->Flags & SUMMON_PROP_FLAG_COMPANION) + if (summonProperties->Slot == SUMMON_SLOT_MINIPET && summonProperties->GetFlags().HasFlag(SummonPropertiesFlags::SummonFromBattlePetJournal)) if (BattlePetSpeciesEntry const* battlePetSpecies = Trinity::Containers::MapGetValuePtr(battlePetSpeciesByCreature, effect->EffectMiscValue[0])) mBattlePets[effect->SpellID] = battlePetSpecies; |
