Fixed Glyph Learning.
* Fixed an issue where if players learn a glyph in spec 1 the same glyph couldnt be applied in spec 2. closes #739 #411
This commit is contained in:
@@ -26708,6 +26708,7 @@ void Player::ActivateSpec(uint8 spec)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// xinef: apply glyphs from second spec
|
// xinef: apply glyphs from second spec
|
||||||
|
if(GetActiveSpec() != oldSpec)
|
||||||
for (uint8 slot = 0; slot < MAX_GLYPH_SLOT_INDEX; ++slot)
|
for (uint8 slot = 0; slot < MAX_GLYPH_SLOT_INDEX; ++slot)
|
||||||
if (uint32 glyphId = m_Glyphs[GetActiveSpec()][slot])
|
if (uint32 glyphId = m_Glyphs[GetActiveSpec()][slot])
|
||||||
if (GlyphPropertiesEntry const* glyphEntry = sGlyphPropertiesStore.LookupEntry(glyphId))
|
if (GlyphPropertiesEntry const* glyphEntry = sGlyphPropertiesStore.LookupEntry(glyphId))
|
||||||
|
|||||||
Reference in New Issue
Block a user