[9712] Use enum for effect index

This commit is contained in:
Laise 2010-04-09 22:49:16 +03:00
parent c6fc16d064
commit eef1f119b2
2 changed files with 2 additions and 2 deletions

View file

@ -7341,7 +7341,7 @@ void Player::CastItemUseSpell(Item *item,SpellCastTargets const& targets,uint8 c
Spell *spell = new Spell(this, spellInfo, false);
spell->m_CastItem = item;
spell->m_cast_count = cast_count; //set count of casts
spell->m_currentBasePoints[0] = learning_spell_id;
spell->m_currentBasePoints[EFFECT_INDEX_0] = learning_spell_id;
spell->prepare(&targets);
return;
}

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9711"
#define REVISION_NR "9712"
#endif // __REVISION_NR_H__