diff options
Diffstat (limited to 'OpenSim/Framework/Util.cs')
-rw-r--r-- | OpenSim/Framework/Util.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs index 5250d30..96b91ff 100644 --- a/OpenSim/Framework/Util.cs +++ b/OpenSim/Framework/Util.cs | |||
@@ -382,7 +382,8 @@ namespace OpenSim.Framework | |||
382 | 382 | ||
383 | public static ulong RegionGridLocToHandle(uint X, uint Y) | 383 | public static ulong RegionGridLocToHandle(uint X, uint Y) |
384 | { | 384 | { |
385 | ulong handle = X << 40; // shift to higher half and mult by 256) | 385 | ulong handle = X; |
386 | handle <<= 40; // shift to higher half and mult by 256) | ||
386 | handle |= (Y << 8); // mult by 256) | 387 | handle |= (Y << 8); // mult by 256) |
387 | return handle; | 388 | return handle; |
388 | } | 389 | } |