diff options
author | Melanie Thielker | 2008-07-23 18:08:16 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-07-23 18:08:16 +0000 |
commit | f079af87dc3ad1560718ea391ea7f1bb4d30d4b5 (patch) | |
tree | b27fd63f57e31adce9307634b473e7575536b735 /OpenSim | |
parent | make privates private (diff) | |
download | opensim-SC_OLD-f079af87dc3ad1560718ea391ea7f1bb4d30d4b5.zip opensim-SC_OLD-f079af87dc3ad1560718ea391ea7f1bb4d30d4b5.tar.gz opensim-SC_OLD-f079af87dc3ad1560718ea391ea7f1bb4d30d4b5.tar.bz2 opensim-SC_OLD-f079af87dc3ad1560718ea391ea7f1bb4d30d4b5.tar.xz |
Fix Mantis #1759
Corrects reported agent positions.
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Helpers.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Helpers.cs b/OpenSim/Region/ScriptEngine/Shared/Helpers.cs index cd1f2c5..d3222e7 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Helpers.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Helpers.cs | |||
@@ -106,7 +106,7 @@ namespace OpenSim.Region.ScriptEngine.Shared | |||
106 | Owner = Key; | 106 | Owner = Key; |
107 | Position = new LSL_Types.Vector3( | 107 | Position = new LSL_Types.Vector3( |
108 | presence.AbsolutePosition.X, | 108 | presence.AbsolutePosition.X, |
109 | presence.AbsolutePosition.X, | 109 | presence.AbsolutePosition.Y, |
110 | presence.AbsolutePosition.Z); | 110 | presence.AbsolutePosition.Z); |
111 | Rotation = new LSL_Types.Quaternion( | 111 | Rotation = new LSL_Types.Quaternion( |
112 | presence.Rotation.x, | 112 | presence.Rotation.x, |
@@ -115,7 +115,7 @@ namespace OpenSim.Region.ScriptEngine.Shared | |||
115 | presence.Rotation.w); | 115 | presence.Rotation.w); |
116 | Velocity = new LSL_Types.Vector3( | 116 | Velocity = new LSL_Types.Vector3( |
117 | presence.Velocity.X, | 117 | presence.Velocity.X, |
118 | presence.Velocity.X, | 118 | presence.Velocity.Y, |
119 | presence.Velocity.Z); | 119 | presence.Velocity.Z); |
120 | 120 | ||
121 | Type = 0x01; // Avatar | 121 | Type = 0x01; // Avatar |