Skip to content

Instantly share code, notes, and snippets.

@Sar777
Created August 25, 2012 21:32
Show Gist options
  • Save Sar777/3471169 to your computer and use it in GitHub Desktop.
Save Sar777/3471169 to your computer and use it in GitHub Desktop.
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 5ef23bf..9beaea7 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -524,7 +524,7 @@ void Spell::FillTargetMap()
for (int j = 0; j < i; ++j)
{
SpellEffectEntry const* spellEffect1 = m_spellInfo->GetSpellEffect(SpellEffectIndex(j));
- if (!spellEffect)
+ if (!spellEffect1)
continue;
// Check if same target, but handle i.e. AreaAuras different
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment