Core/Scripts: fix a crash from e0997874f5

This commit is contained in:
QAston committed 2012-06-30 10:43:34 +02:00
1 parent 067c27d299
commit 469c7a0955
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -224,7 +224,7 @@ bool SpellScript::TargetHook::CheckEffect(SpellInfo const* spellEntry, uint8 eff
spellEntry->Effects[effIndex].TargetB.GetTarget() != targetType)
return false;
SpellImplicitTargetInfo targetType(targetType);
SpellImplicitTargetInfo targetType(this->targetType);
switch (targetType.GetSelectionCategory())
{
case TARGET_SELECT_CATEGORY_CHANNEL: // SINGLE