aboutsummaryrefslogtreecommitdiff
path: root/src/game/Player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r--src/game/Player.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index e9634722fab..2d49a7559e9 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -22104,8 +22104,9 @@ void Player::ActivateSpec(uint8 spec)
uint32 glyph = m_Glyphs[m_activeSpec][slot];
// apply primary glyph
- if (glyph && GlyphPropertiesEntry const *gp = sGlyphPropertiesStore.LookupEntry(glyph))
- CastSpell(this, gp->SpellId, true);
+ if (glyph)
+ if (GlyphPropertiesEntry const *gp = sGlyphPropertiesStore.LookupEntry(glyph))
+ CastSpell(this, gp->SpellId, true);
SetGlyph(slot, glyph);
}