mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
Replaced hardcoded value with define
This commit is contained in:
parent
14e9afa46f
commit
781d9ca211
1 changed files with 2 additions and 3 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue