* Fixed outgoing movement packets
This commit is contained in:
parent
10caae39a3
commit
bd9424b0c2
@ -33,8 +33,10 @@ void MovementMgr::SetInstance(PseuInstance *inst)
|
|||||||
void MovementMgr::_BuildPacket(uint16 opcode)
|
void MovementMgr::_BuildPacket(uint16 opcode)
|
||||||
{
|
{
|
||||||
WorldPacket *wp = new WorldPacket(opcode,4+2+4+16); // it can be larger, if we are jumping, on transport or swimming
|
WorldPacket *wp = new WorldPacket(opcode,4+2+4+16); // it can be larger, if we are jumping, on transport or swimming
|
||||||
|
if(_instance->GetConf()->client > CLIENT_CLASSIC_WOW)
|
||||||
wp->appendPackGUID(_mychar->GetGUID());
|
wp->appendPackGUID(_mychar->GetGUID());
|
||||||
*wp << _moveFlags;
|
*wp << _moveFlags;
|
||||||
|
if(_instance->GetConf()->client > CLIENT_CLASSIC_WOW)
|
||||||
*wp << (uint16)0; // flags2 , safe to set 0 for now (shlainn)
|
*wp << (uint16)0; // flags2 , safe to set 0 for now (shlainn)
|
||||||
*wp << getMSTime();
|
*wp << getMSTime();
|
||||||
*wp << _mychar->GetPosition();
|
*wp << _mychar->GetPosition();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user