Created
August 25, 2012 21:32
-
-
Save Sar777/3471169 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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