Added Logs::Mercenaries to the new Logging System. Logging of Mercenary information is off by default with the required SQL.

This commit is contained in:
Trevius
2015-01-25 12:31:07 -06:00
parent 966acb25b3
commit fc5266e115
11 changed files with 61 additions and 115 deletions
+1 -2
View File
@@ -656,8 +656,7 @@ void Zone::LoadMercSpells(){
merc_spells_list[classid].push_back(tempMercSpellEntry);
}
if(MERC_DEBUG > 0)
Log.Out(Logs::General, Logs::None, "Mercenary Debug: Loaded %i merc spells.", merc_spells_list[1].size() + merc_spells_list[2].size() + merc_spells_list[9].size() + merc_spells_list[12].size());
Log.Out(Logs::General, Logs::Mercenaries, "Mercenary Debug: Loaded %i merc spells.", merc_spells_list[1].size() + merc_spells_list[2].size() + merc_spells_list[9].size() + merc_spells_list[12].size());
}