Skip to content

Commit

Permalink
Updates for CMaNGOS Cata core spell changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Niam5 committed Dec 13, 2024
1 parent 0a9066c commit 7ea0078
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions methods/CMangos/UnitMethods.h
Original file line number Diff line number Diff line change
Expand Up @@ -2181,14 +2181,7 @@ namespace LuaUnit

for (uint32 i = 0; i < MAX_EFFECT_INDEX; ++i)
{
#if ELUNA_EXPANSION == EXP_CATA
SpellEffectEntry const* spellEffect = spellEntry->GetSpellEffect(SpellEffectIndex(i));
if (!spellEffect)
continue;
uint8 eff = spellEffect->Effect;
#else
uint8 eff = spellEntry->Effect[i];
#endif
#if ELUNA_EXPANSION < EXP_CATA
if (eff >= MAX_SPELL_EFFECTS)
#else
Expand Down

0 comments on commit 7ea0078

Please sign in to comment.