[7232] Use constant name that hide client dependent value.

This commit is contained in:
VladimirMangos 2009-02-06 01:59:29 +03:00
parent 8376abb9d2
commit 118eb563b5
2 changed files with 2 additions and 2 deletions

View file

@ -602,7 +602,7 @@ void WorldSession::HandleGetMail(WorldPacket & recv_data )
data << (uint32) (item ? item->GetGUIDLow() : 0);
// entry
data << (uint32) (item ? item->GetEntry() : 0);
for(uint8 j = 0; j < 7; ++j)
for(uint8 j = 0; j < MAX_INSPECTED_ENCHANTMENT_SLOT; ++j)
{
// unsure
data << (uint32) (item ? item->GetEnchantmentCharges((EnchantmentSlot)j) : 0);