aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellMgr.cpp
diff options
context:
space:
mode:
authorKingPin <none@none>2008-10-19 17:27:18 -0500
committerKingPin <none@none>2008-10-19 17:27:18 -0500
commit0cb3a7951811140c2619353c0e3c3b4dd727a63c (patch)
tree156b09f8b2a12b1d62fb1b2f469c4decfe811ff4 /src/game/SpellMgr.cpp
parent0d8d686d812ac0d4d9fde880401107a74f594451 (diff)
[svn] * DB data for item 28356 and related, and also for 28602, 30317, 28578. source: Mangos
* List fake data for last spells expected to listed in `spell_affect`. source: Mangos * Fixed: wrong arg name for va_start call in WorldSession::SendNotification. source: Mangos * Implemented dummy aura of spell 43873. source: Mangos --HG-- branch : trunk
Diffstat (limited to 'src/game/SpellMgr.cpp')
-rw-r--r--src/game/SpellMgr.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp
index f398f224286..02ff2395c1e 100644
--- a/src/game/SpellMgr.cpp
+++ b/src/game/SpellMgr.cpp
@@ -742,8 +742,6 @@ void SpellMgr::LoadSpellAffects()
sLog.outString();
sLog.outString( ">> Loaded %u spell affect definitions", count );
- /*
- // Commented for now, as it still produces many errors (still quite many spells miss spell_affect)
for (uint32 id = 0; id < sSpellStore.GetNumRows(); ++id)
{
SpellEntry const* spellInfo = sSpellStore.LookupEntry(id);
@@ -764,10 +762,9 @@ void SpellMgr::LoadSpellAffects()
if(mSpellAffectMap.find((id<<8) + effectId) != mSpellAffectMap.end())
continue;
- sLog.outErrorDb("Spell %u (%s) misses spell_affect for effect %u",id,spellInfo->SpellName[sWorld.GetDBClang()], effectId);
+ sLog.outErrorDb("Spell %u (%s) misses spell_affect for effect %u",id,spellInfo->SpellName[sWorld.GetDefaultDbcLocale()], effectId);
}
}
- */
}
bool SpellMgr::IsAffectedBySpell(SpellEntry const *spellInfo, uint32 spellId, uint8 effectId, uint64 familyFlags) const