*Fix errors with spell_affect table loading

--HG--
branch : trunk
This commit is contained in:
Them
2009-06-08 21:56:26 +02:00
parent 0ae0f36f87
commit 0555ec4a35

View File

@@ -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);