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
2012-12-29 15:20:57 -05:00
parent ae47b641e1
commit 9a9fbb87de
9 changed files with 649 additions and 547 deletions

View File

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