mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
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:
@@ -36,7 +36,7 @@ void WorldSession::HandleDismissControlledVehicle(WorldPacket &recvData)
|
||||
}
|
||||
|
||||
MovementInfo mi;
|
||||
ReadMovementInfo(recvData, &mi);
|
||||
_player->ReadMovementInfo(recvData, &mi);
|
||||
|
||||
_player->m_movementInfo = mi;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user