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
@@ -36,7 +36,7 @@ void WorldSession::HandleDismissControlledVehicle(WorldPacket &recvData)
}
MovementInfo mi;
ReadMovementInfo(recvData, &mi);
_player->ReadMovementInfo(recvData, &mi);
_player->m_movementInfo = mi;