* Commented out a useless debug line for spell chain data since it is read

* from DBC and can't be fixed with the current way the core handles
* spell chains

--HG--
branch : trunk
This commit is contained in:
Brian
2009-12-21 14:32:07 -07:00
parent 3ab7f40932
commit 6b9d05c315
+6 -2
View File
@@ -3469,10 +3469,14 @@ void SpellMgr::LoadSpellChains()
if (rank_count > 1)
for (itr2 = RankErrorMap.lower_bound(err_entry); itr2 != RankErrorMap.upper_bound(err_entry); ++itr2)
{
sLog.outDebug("There is a duplicate rank entry (%s) for spell: %u",itr2->first,itr2->second->second.Id);
// I removed this pointless error message since there is NOTHING that can be
// done about it. Spell chain data is read from DBC...
// If you *REALLY* need to see this, uncomment this line and the one below
// sLog.outDebug("There is a duplicate rank entry (%s) for spell: %u",itr2->first,itr2->second->second.Id);
if (itr2->second->second.Id != 47541 && itr2->second->second.Id != 45902 && itr2->second->second.Id != 7620)
{
sLog.outDebug("Spell %u removed from chain data.",itr2->second->second.Id);
// Part two of pointless error messages...
// sLog.outDebug("Spell %u removed from chain data.",itr2->second->second.Id);
RankMap.erase(itr2->second);
}
}