Replaced hardcoded value with define

This commit is contained in:
tomrus88 2009-04-08 14:53:42 +04:00
parent 14e9afa46f
commit 781d9ca211

View file

@ -19805,10 +19805,9 @@ void Player::BuildPlayerTalentsInfoData(WorldPacket *data)
data->put<uint8>(pos, talentIdCount); // put real count
uint8 glyphsCount = 6;
*data << uint8(glyphsCount); // glyphs count
*data << uint8(MAX_GLYPH_SLOT_INDEX); // glyphs count
for(uint8 i = 0; i < glyphsCount; ++i)
for(uint8 i = 0; i < MAX_GLYPH_SLOT_INDEX; ++i)
*data << uint16(GetGlyph(i)); // GlyphProperties.dbc
}
}