Core/ObjectMgr: Simplify trainer spell loading. Should decrease loading time on decently sized machines

--HG--
branch : trunk
This commit is contained in:
leak
2010-12-21 20:26:59 +01:00
parent 31334b8770
commit 739a3b9165
3 changed files with 34 additions and 69 deletions
+1 -2
View File
@@ -926,8 +926,7 @@ class ObjectMgr
void LoadVendors();
void LoadTrainerSpell();
bool AddSpellToTrainer(uint32 entry, uint32 spell, Field *fields, std::set<uint32> *skip_trainers, std::set<uint32> *talentIds);
int LoadReferenceTrainer(uint32 trainer, int32 spell, std::set<uint32> *skip_trainers, std::set<uint32> *talentIds);
void AddSpellToTrainer(uint32 entry, uint32 spell, uint32 spellCost, uint32 reqSkill, uint32 reqSkillValue, uint32 reqLevel);
std::string GeneratePetName(uint32 entry);
uint32 GetBaseXP(uint8 level);