Fixed item buy packets. Thanks to yad02 for reporting.

Fixed client disconnect when boarding transport (by yad02 and woweur).
This commit is contained in:
tomrus88 2009-04-19 11:03:20 +04:00
parent 66f554f74d
commit 2fc6e75a81
2 changed files with 12 additions and 10 deletions

View file

@ -636,8 +636,10 @@ void WorldSession::ReadMovementInfo(WorldPacket &data, MovementInfo *mi)
if(mi->flags & MOVEMENTFLAG_ONTRANSPORT)
{
CHECK_PACKET_SIZE(data, data.rpos()+8+4+4+4+4+4+1);
data >> mi->t_guid;
if(!data.readPackGUID(mi->t_guid))
return;
CHECK_PACKET_SIZE(data, data.rpos()+4+4+4+4+4+1);
data >> mi->t_x;
data >> mi->t_y;
data >> mi->t_z;