[7248] Check battlemaster_entry data at loading. Code cleanups. Author: zhenya
--HG-- branch : trunk
This commit is contained in:
+6
-6
@@ -369,14 +369,14 @@ typedef std::list<VendorItemCount> VendorItemCounts;
|
||||
struct TrainerSpell
|
||||
{
|
||||
uint32 spell;
|
||||
uint32 spellcost;
|
||||
uint32 reqskill;
|
||||
uint32 reqskillvalue;
|
||||
uint32 reqlevel;
|
||||
uint32 learned_spell;
|
||||
uint32 spellCost;
|
||||
uint32 reqSkill;
|
||||
uint32 reqSkillValue;
|
||||
uint32 reqLevel;
|
||||
uint32 learnedSpell;
|
||||
|
||||
// helpers
|
||||
bool IsCastable() const { return learned_spell != spell; }
|
||||
bool IsCastable() const { return learnedSpell != spell; }
|
||||
};
|
||||
|
||||
typedef std::vector<TrainerSpell*> TrainerSpellList;
|
||||
|
||||
Reference in New Issue
Block a user