Core/Conditions: Fixed a typo

Fixed a typo which caused implicit target conditions to only be applied to the first effect
bug was introduced in 926a37a
This commit is contained in:
Zedron
2015-10-01 02:05:25 -05:00
parent 8745e08be0
commit ff755dbc07

View File

@@ -1310,7 +1310,7 @@ bool ConditionMgr::addToSpellImplicitTargetConditions(Condition* cond)
bool assigned = false;
for (uint8 i = firstEffIndex; i < MAX_SPELL_EFFECTS; ++i)
{
SpellEffectInfo const* eff = spellInfo->GetEffect(DIFFICULTY_NONE, firstEffIndex);
SpellEffectInfo const* eff = spellInfo->GetEffect(DIFFICULTY_NONE, i);
if (!eff)
continue;