mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[9712] Use enum for effect index
This commit is contained in:
parent
c6fc16d064
commit
eef1f119b2
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "9711"
|
||||
#define REVISION_NR "9712"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue