mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 18:36:31 +01:00
Core/Units: Started work on updating movement (main goal: remove SendMovementFlagUpdate())
This commit is contained in:
@@ -439,9 +439,6 @@ public:
|
||||
me->Relocate(x, y, z + 0.94f);
|
||||
me->SetDisableGravity(true);
|
||||
me->HandleEmoteCommand(EMOTE_ONESHOT_DANCE);
|
||||
WorldPacket data; //send update position to client
|
||||
me->BuildHeartBeatMsg(&data);
|
||||
me->SendMessageToSet(&data, true);
|
||||
}
|
||||
|
||||
void UpdateAI(uint32 diff)
|
||||
@@ -468,9 +465,6 @@ public:
|
||||
me->SetInFront(player);
|
||||
Active = false;
|
||||
|
||||
WorldPacket data;
|
||||
me->BuildHeartBeatMsg(&data);
|
||||
me->SendMessageToSet(&data, true);
|
||||
switch (emote)
|
||||
{
|
||||
case TEXT_EMOTE_KISS:
|
||||
|
||||
Reference in New Issue
Block a user