From bd9424b0c2b3270414a128a76d7ba697ca18c017 Mon Sep 17 00:00:00 2001 From: shlainn Date: Thu, 15 Sep 2011 14:56:35 +0200 Subject: [PATCH] * Fixed outgoing movement packets --- src/Client/World/MovementMgr.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Client/World/MovementMgr.cpp b/src/Client/World/MovementMgr.cpp index 232da1b..469b805 100644 --- a/src/Client/World/MovementMgr.cpp +++ b/src/Client/World/MovementMgr.cpp @@ -33,9 +33,11 @@ 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 - wp->appendPackGUID(_mychar->GetGUID()); + if(_instance->GetConf()->client > CLIENT_CLASSIC_WOW) + wp->appendPackGUID(_mychar->GetGUID()); *wp << _moveFlags; - *wp << (uint16)0; // flags2 , safe to set 0 for now (shlainn) + if(_instance->GetConf()->client > CLIENT_CLASSIC_WOW) + *wp << (uint16)0; // flags2 , safe to set 0 for now (shlainn) *wp << getMSTime(); *wp << _mychar->GetPosition(); // TODO: transport not yet handled/done