diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Scripting/EMailModules')
-rw-r--r-- | OpenSim/Region/CoreModules/Scripting/EMailModules/EmailModule.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Scripting/EMailModules/EmailModule.cs b/OpenSim/Region/CoreModules/Scripting/EMailModules/EmailModule.cs index 905239b..83f004d 100644 --- a/OpenSim/Region/CoreModules/Scripting/EMailModules/EmailModule.cs +++ b/OpenSim/Region/CoreModules/Scripting/EMailModules/EmailModule.cs | |||
@@ -34,6 +34,7 @@ using DotNetOpenMail.SmtpAuth; | |||
34 | using log4net; | 34 | using log4net; |
35 | using Nini.Config; | 35 | using Nini.Config; |
36 | using OpenMetaverse; | 36 | using OpenMetaverse; |
37 | using OpenSim.Framework; | ||
37 | using OpenSim.Region.Framework.Interfaces; | 38 | using OpenSim.Region.Framework.Interfaces; |
38 | using OpenSim.Region.Framework.Scenes; | 39 | using OpenSim.Region.Framework.Scenes; |
39 | 40 | ||
@@ -205,8 +206,8 @@ namespace OpenSim.Region.CoreModules.Scripting.EmailModules | |||
205 | if (part != null) | 206 | if (part != null) |
206 | { | 207 | { |
207 | ObjectRegionName = s.RegionInfo.RegionName; | 208 | ObjectRegionName = s.RegionInfo.RegionName; |
208 | uint localX = (s.RegionInfo.RegionLocX * 256); | 209 | uint localX = (s.RegionInfo.RegionLocX * (int)Constants.RegionSize); |
209 | uint localY = (s.RegionInfo.RegionLocY * 256); | 210 | uint localY = (s.RegionInfo.RegionLocY * (int)Constants.RegionSize); |
210 | ObjectRegionName = ObjectRegionName + " (" + localX + ", " + localY + ")"; | 211 | ObjectRegionName = ObjectRegionName + " (" + localX + ", " + localY + ")"; |
211 | return part; | 212 | return part; |
212 | } | 213 | } |