diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index d7633d8..17e8253 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -2917,10 +2917,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2917 | { | 2917 | { |
2918 | AssetLandmark lm = new AssetLandmark(a); | 2918 | AssetLandmark lm = new AssetLandmark(a); |
2919 | 2919 | ||
2920 | region += lm.Position; | 2920 | float rx = (uint)(lm.RegionHandle >> 32); |
2921 | float ry = (uint)lm.RegionHandle; | ||
2922 | region = lm.Position + new LLVector3(rx, ry, 0) - region; | ||
2921 | 2923 | ||
2922 | string reply = region.ToString(); | 2924 | string reply = region.ToString(); |
2923 | |||
2924 | AsyncCommands. | 2925 | AsyncCommands. |
2925 | DataserverPlugin.DataserverReply(i.ToString(), | 2926 | DataserverPlugin.DataserverReply(i.ToString(), |
2926 | reply); | 2927 | reply); |