diff options
llRequestSimulatorData DATA_SIM_POS : Divide by RegionSize, don't multiply. This resolves mantis #215
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 4 |
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 |