diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/ScenePresence.cs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index 62abefc..a221243 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs | |||
@@ -1033,11 +1033,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1033 | { | 1033 | { |
1034 | LLVector3 pos = m_pos; | 1034 | LLVector3 pos = m_pos; |
1035 | LLVector3 vel = Velocity; | 1035 | LLVector3 vel = Velocity; |
1036 | LLQuaternion rot; | 1036 | LLQuaternion rot=new LLQuaternion(m_bodyRot.x, m_bodyRot.y, m_bodyRot.z, m_bodyRot.w); |
1037 | rot.X = m_bodyRot.x; | ||
1038 | rot.Y = m_bodyRot.y; | ||
1039 | rot.Z = m_bodyRot.z; | ||
1040 | rot.W = m_bodyRot.w; | ||
1041 | remoteClient.SendAvatarTerseUpdate(m_regionHandle, 64096, LocalId, new LLVector3(pos.X, pos.Y, pos.Z), | 1037 | remoteClient.SendAvatarTerseUpdate(m_regionHandle, 64096, LocalId, new LLVector3(pos.X, pos.Y, pos.Z), |
1042 | new LLVector3(vel.X, vel.Y, vel.Z), rot); | 1038 | new LLVector3(vel.X, vel.Y, vel.Z), rot); |
1043 | } | 1039 | } |