* Fixed outgoing movement packets

This commit is contained in:
shlainn 2011-09-15 14:56:35 +02:00
parent 10caae39a3
commit bd9424b0c2

View File

@ -33,8 +33,10 @@ void MovementMgr::SetInstance(PseuInstance *inst)
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
if(_instance->GetConf()->client > CLIENT_CLASSIC_WOW)
wp->appendPackGUID(_mychar->GetGUID());
*wp << _moveFlags;
if(_instance->GetConf()->client > CLIENT_CLASSIC_WOW)
*wp << (uint16)0; // flags2 , safe to set 0 for now (shlainn)
*wp << getMSTime();
*wp << _mychar->GetPosition();