diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 5a248aa78..97ee96273 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -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; } diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 872b6638c..b03ad3329 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "9711" + #define REVISION_NR "9712" #endif // __REVISION_NR_H__