Core/DBLayer: Fix creature and spell_rank loading

This commit is contained in:
Nay
2012-03-26 21:06:50 +01:00
parent 613d5368a5
commit 8f365de4b2
2 changed files with 25 additions and 25 deletions
+1 -1
View File
@@ -1193,7 +1193,7 @@ void SpellMgr::LoadSpellRanks()
if (lastSpell == -1)
lastSpell = currentSpell;
uint32 spell_id = fields[1].GetUInt32();
uint32 rank = fields[2].GetUInt32();
uint32 rank = fields[2].GetUInt8();
// don't drop the row if we're moving to the next rank
if (currentSpell == lastSpell)