From 118eb563b5e69767c86560ae3bab125ec36cb7e9 Mon Sep 17 00:00:00 2001 From: VladimirMangos Date: Fri, 6 Feb 2009 01:59:29 +0300 Subject: [PATCH] [7232] Use constant name that hide client dependent value. --- src/game/Mail.cpp | 2 +- src/shared/revision_nr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/Mail.cpp b/src/game/Mail.cpp index 0b6fbd2c7..c59849415 100644 --- a/src/game/Mail.cpp +++ b/src/game/Mail.cpp @@ -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); diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index d9e8e87e3..471483d10 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "7231" + #define REVISION_NR "7232" #endif // __REVISION_NR_H__