Updated to latest client PTR build 10772.

This commit is contained in:
tomrus88 2009-11-06 11:24:45 +03:00
parent 9b4a0f3fb1
commit f00553f654
3 changed files with 4 additions and 4 deletions

View file

@ -535,7 +535,7 @@ void WorldSession::HandleGetMailList(WorldPacket & recv_data )
uint8 item_count = (*itr)->items.size(); // max count is MAX_MAIL_ITEMS (12)
size_t next_mail_size = 2+4+1+8+4*8+((*itr)->subject.size()+1)+1+item_count*(1+4+4+6*3*4+4+4+1+4+4+4);
size_t next_mail_size = 2+4+1+((*itr)->messageType == MAIL_NORMAL ? 8 : 4)+4*8+((*itr)->subject.size()+1)+1+item_count*(1+4+4+7*3*4+4+4+4+4+4+4+1);
if(data.wpos()+next_mail_size > maxPacketSize)
{

View file

@ -19,7 +19,7 @@
#ifndef _UPDATEFIELDS_AUTO_H
#define _UPDATEFIELDS_AUTO_H
// Auto generated for version 0, 3, 0, 10747
// Auto generated for version 0, 3, 0, 10772
enum EObjectFields
{

View file

@ -66,9 +66,9 @@ enum LoginResult
// we need to stick to 1 version or half of the stuff will work for someone
// others will not and opposite
// will only support WoW, WoW:TBC and WoW:WotLK 3.3.0 client build 10747...
// will only support WoW, WoW:TBC and WoW:WotLK 3.3.0 client build 10772...
#define EXPECTED_MANGOS_CLIENT_BUILD {10747, 0}
#define EXPECTED_MANGOS_CLIENT_BUILD {10772, 0}
// At update excepted builds please update if need define DEFAULT_MAX_LEVEL
// in DBCEnum.h to default max player level expected by build