Implemented learn preview talents, fixed talents/glyph display

This commit is contained in:
tomrus88 2009-03-03 02:01:16 +03:00
parent 5a967caef4
commit 8f1edbf513
7 changed files with 55 additions and 15 deletions

View file

@ -5373,12 +5373,13 @@ void Spell::EffectApplyGlyph(uint32 i)
if(gp->TypeFlags != gs->TypeFlags)
{
SendCastResult(SPELL_FAILED_INVALID_GLYPH);
return; // glyph slot missmatch
return; // glyph slot mismatch
}
}
player->CastSpell(m_caster, gp->SpellId, true);
player->SetGlyph(m_glyphIndex, glyph);
player->SendTalentInfoData(false);
}
}
}