From 6b9d05c315c23d37eb41580805465394b3378b99 Mon Sep 17 00:00:00 2001 From: Brian Date: Mon, 21 Dec 2009 14:32:07 -0700 Subject: [PATCH] * 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 --- src/game/SpellMgr.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp index 8ad22c4b3c..135b0ab880 100644 --- a/src/game/SpellMgr.cpp +++ b/src/game/SpellMgr.cpp @@ -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); } }