aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThem <none@none>2009-06-08 21:56:26 +0200
committerThem <none@none>2009-06-08 21:56:26 +0200
commit0555ec4a35e1ec78efa09fdfc721addd603ea0cd (patch)
tree89bc49486f66290c4b3c68fba5c2834ebd499450 /src
parent0ae0f36f87f9a4f7c062d189c6dae2e2736491ba (diff)
*Fix errors with spell_affect table loading
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/SpellMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp
index 71857f802d3..e6af1d7ba21 100644
--- a/src/game/SpellMgr.cpp
+++ b/src/game/SpellMgr.cpp
@@ -1097,7 +1097,7 @@ void SpellMgr::LoadSpellAffects()
flag96 dbc_affect;
dbc_affect = spellInfo->EffectSpellClassMask[effectId];
- if(dbc_affect[0] == affect[0] || dbc_affect[1] == affect[1] || dbc_affect[2] == affect[2])
+ if(dbc_affect[0] == affect[0] && dbc_affect[1] == affect[1] && dbc_affect[2] == affect[2])
{
char text[]="ABC";
sLog.outErrorDb("Spell %u listed in `spell_affect` have redundant (same with EffectSpellClassMask%c) data for effect index (%u) and not needed, skipped.", entry, text[effectId], effectId);