aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/IRegionData.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-11-19 00:34:13 +0000
committerJustin Clark-Casey (justincc)2011-11-19 00:34:13 +0000
commitb89534ad0a8a0be24f27634b9a198e2b53f129e0 (patch)
tree11ed7a6ee44f8187d6c8ea60227805c43bbe7da3 /OpenSim/Data/IRegionData.cs
parentImprove some grid region log messages to express regions at co-ordinate (e.g.... (diff)
downloadopensim-SC_OLD-b89534ad0a8a0be24f27634b9a198e2b53f129e0.zip
opensim-SC_OLD-b89534ad0a8a0be24f27634b9a198e2b53f129e0.tar.gz
opensim-SC_OLD-b89534ad0a8a0be24f27634b9a198e2b53f129e0.tar.bz2
opensim-SC_OLD-b89534ad0a8a0be24f27634b9a198e2b53f129e0.tar.xz
Remove mono compiler warnings. Fix problem with co-ordinate given in deregister region message
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/IRegionData.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Data/IRegionData.cs b/OpenSim/Data/IRegionData.cs
index 4761a7a..0068daa 100644
--- a/OpenSim/Data/IRegionData.cs
+++ b/OpenSim/Data/IRegionData.cs
@@ -47,19 +47,19 @@ namespace OpenSim.Data
47 /// The position in meters of this region. 47 /// The position in meters of this region.
48 /// </summary> 48 /// </summary>
49 public int posY; 49 public int posY;
50 50
51 public int sizeX; 51 public int sizeX;
52 public int sizeY; 52 public int sizeY;
53 53
54 /// <summary> 54 /// <summary>
55 /// Return the x-coordinate of this region. We currently assume that every region is the same size. 55 /// Return the x-coordinate of this region.
56 /// </summary> 56 /// </summary>
57 public int coordX { get { return (sizeX != 0) ? posX / sizeX : -1; } } 57 public int coordX { get { return (sizeX != 0) ? posX / (int)Constants.RegionSize : -1; } }
58 58
59 /// <summary> 59 /// <summary>
60 /// Return the y-coordinate of this region. We currently assume that every region is the same size. 60 /// Return the y-coordinate of this region.
61 /// </summary> 61 /// </summary>
62 public int coordY { get { return (sizeY != 0) ? posY / sizeY : -1; } } 62 public int coordY { get { return (sizeY != 0) ? posY / (int)Constants.RegionSize : -1; } }
63 63
64 public Dictionary<string, object> Data; 64 public Dictionary<string, object> Data;
65 } 65 }