diff options
author | megamage <none@none> | 2009-04-25 18:46:07 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-04-25 18:46:07 -0500 |
commit | 94e25701ad1b00f2e68445659f5cb777731f4ddb (patch) | |
tree | 1f57e7f8d885c0522bffbf14f6f3e07b472b3c8e /src/game/SpellMgr.cpp | |
parent | ec4031be35cca5b1ce180c399716d40eff3825ca (diff) |
*Fix the bug that neutural npc aggro players.
*Fix build.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellMgr.cpp')
-rw-r--r-- | src/game/SpellMgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp index 233ef09f4f5..dfb2184094d 100644 --- a/src/game/SpellMgr.cpp +++ b/src/game/SpellMgr.cpp @@ -1222,7 +1222,7 @@ bool SpellMgr::IsSpellProcEventCanTriggeredBy(SpellProcEventEntry const* spellPr // Item cast can trigger only with spells with spellfamily if (procExtra & PROC_EX_INTERNAL_ITEM_CAST) { - if (!spellProcEvent->SpellFamilyName) + if (!spellProcEvent->spellFamilyName) return false; } // Check (if set) for school |