aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorTom2010-08-05 08:41:08 -0700
committerTom2010-08-05 08:41:08 -0700
commit0eda6714f332b2883e109312b134b102b732bcea (patch)
treeee7e140886b0d422c7fadffd4000e91c8e6e91d3 /OpenSim
parentEnforce a 0.2 second sleep on llDie() before the command is executed - this s... (diff)
downloadopensim-SC_OLD-0eda6714f332b2883e109312b134b102b732bcea.zip
opensim-SC_OLD-0eda6714f332b2883e109312b134b102b732bcea.tar.gz
opensim-SC_OLD-0eda6714f332b2883e109312b134b102b732bcea.tar.bz2
opensim-SC_OLD-0eda6714f332b2883e109312b134b102b732bcea.tar.xz
llRequestSimulatorData DATA_SIM_POS : Divide by RegionSize, don't multiply. This resolves mantis #215
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs4
1 files changed, 2 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 411c811..d61715e 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -8881,8 +8881,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
8881 return UUID.Zero.ToString(); 8881 return UUID.Zero.ToString();
8882 } 8882 }
8883 reply = new LSL_Vector( 8883 reply = new LSL_Vector(
8884 info.RegionLocX * Constants.RegionSize, 8884 info.RegionLocX / Constants.RegionSize,
8885 info.RegionLocY * Constants.RegionSize, 8885 info.RegionLocY / Constants.RegionSize,
8886 0).ToString(); 8886 0).ToString();
8887 break; 8887 break;
8888 case 6: // DATA_SIM_STATUS 8888 case 6: // DATA_SIM_STATUS