mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-14 20:22:23 -04:00
Core/PacketIO: Updated values of all known server opcodes
This commit is contained in:
@@ -33,6 +33,7 @@ EndScriptData */
|
||||
#include "GossipDef.h"
|
||||
#include "Transport.h"
|
||||
#include "Language.h"
|
||||
#include "MovementPackets.h"
|
||||
|
||||
#include <fstream>
|
||||
|
||||
@@ -1343,9 +1344,9 @@ public:
|
||||
target->DestroyForNearbyPlayers(); // Force new SMSG_UPDATE_OBJECT:CreateObject
|
||||
else
|
||||
{
|
||||
WorldPacket data(SMSG_MOVE_UPDATE);
|
||||
target->WriteMovementInfo(data);
|
||||
target->SendMessageToSet(&data, true);
|
||||
WorldPackets::Movement::MoveUpdate moveUpdate;
|
||||
moveUpdate.movementInfo = &target->m_movementInfo;
|
||||
target->SendMessageToSet(moveUpdate.Write(), true);
|
||||
}
|
||||
|
||||
handler->PSendSysMessage(LANG_MOVEFLAGS_SET, target->GetUnitMovementFlags(), target->GetExtraUnitMovementFlags());
|
||||
|
||||
Reference in New Issue
Block a user