Entities/Movement: Correctly send MSG_MOVE_TELEPORT to the player when it is teleported, send MSG_MOVE_UPDATE_TELEPORT to nearby players when such thing happens.
Allow the usage of WriteMovementInfo on non-player units.
This commit is contained in:
1 parent
ae47b641e1
commit
9a9fbb87de
9 files changed
+649
-547
No files matched your search
@@ -1666,7 +1666,7 @@ void WorldSession::HandleMoveSetCanFlyAckOpcode(WorldPacket& recvData)
|
||||
|
||||
MovementInfo movementInfo;
|
||||
movementInfo.guid = guid;
|
||||
ReadMovementInfo(recvData, &movementInfo);
|
||||
_player->ReadMovementInfo(recvData, &movementInfo);
|
||||
|
||||
recvData.read_skip<float>(); // unk2
|
||||
|
||||
|
||||
Reference in new issue
Block a user