aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Location.cs
diff options
context:
space:
mode:
authorAdam Frisby2008-05-03 20:00:35 +0000
committerAdam Frisby2008-05-03 20:00:35 +0000
commit87b313792821cb842fd54b568302b6877c4e53f8 (patch)
tree446719156d1e8d8c12bc3bcd69546f04ba0d79ab /OpenSim/Framework/Location.cs
parent* Refactor: Move MoveFolder() and PurgeFolder() into CachedUserInfo (which ar... (diff)
downloadopensim-SC-87b313792821cb842fd54b568302b6877c4e53f8.zip
opensim-SC-87b313792821cb842fd54b568302b6877c4e53f8.tar.gz
opensim-SC-87b313792821cb842fd54b568302b6877c4e53f8.tar.bz2
opensim-SC-87b313792821cb842fd54b568302b6877c4e53f8.tar.xz
* Cleaned up code in Terrain, Tree and Map modules.
* Fixed a bug with Terragen loader where it would do bad things on a non 256x256 sized terrain. Now loads the array correctly. * Moved MapImageModule.cs to Modules/World/WorldMap * Changed Location.RegionHandle to use Helpers.GetUlong instead of doing it ourselves.
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Location.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Framework/Location.cs b/OpenSim/Framework/Location.cs
index a3d504c..6bc0755 100644
--- a/OpenSim/Framework/Location.cs
+++ b/OpenSim/Framework/Location.cs
@@ -1,4 +1,5 @@
1using System; 1using System;
2using libsecondlife;
2 3
3namespace OpenSim.Framework 4namespace OpenSim.Framework
4{ 5{
@@ -22,7 +23,7 @@ namespace OpenSim.Framework
22 23
23 public ulong RegionHandle 24 public ulong RegionHandle
24 { 25 {
25 get { return ((ulong) m_x << 32 & (ulong) m_y); } 26 get { return Helpers.UIntsToLong((uint) m_x, (uint) m_y); }
26 } 27 }
27 28
28 public int X 29 public int X