[7248] Check battlemaster_entry data at loading. Code cleanups. Author: zhenya

--HG--
branch : trunk
This commit is contained in:
megamage
2009-02-09 20:09:03 -06:00
parent 91356d97d5
commit b8d4c24359
9 changed files with 55 additions and 48 deletions
+6 -6
View File
@@ -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;