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:
Subv committed 2012-12-29 15:22:37 -05:00
1 parent ae47b641e1
commit 9a9fbb87de
9 files changed
+649 -547

No files matched your search

+1 -1
View File
@@ -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