diff options
author | Justin Clark-Casey (justincc) | 2011-08-24 21:18:11 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-08-24 21:18:11 +0100 |
commit | 0e0d40c810c00dac02d0167866714212351097b0 (patch) | |
tree | 0215562b187b25b3634406fb5688e5943f7d55b8 /OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |
parent | refactor: remove pointless AgentId argument from attachObjectAssetStore() (diff) | |
download | opensim-SC-0e0d40c810c00dac02d0167866714212351097b0.zip opensim-SC-0e0d40c810c00dac02d0167866714212351097b0.tar.gz opensim-SC-0e0d40c810c00dac02d0167866714212351097b0.tar.bz2 opensim-SC-0e0d40c810c00dac02d0167866714212351097b0.tar.xz |
minor: remove hardcoded region numbers with the region size constant and a currently hardcoded offset
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 66905fe..3e87578 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -1880,11 +1880,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
1880 | { | 1880 | { |
1881 | Vector3 inventoryStoredPosition = new Vector3 | 1881 | Vector3 inventoryStoredPosition = new Vector3 |
1882 | (((grp.AbsolutePosition.X > (int)Constants.RegionSize) | 1882 | (((grp.AbsolutePosition.X > (int)Constants.RegionSize) |
1883 | ? 250 | 1883 | ? Constants.RegionSize - 6 |
1884 | : grp.AbsolutePosition.X) | 1884 | : grp.AbsolutePosition.X) |
1885 | , | 1885 | , |
1886 | (grp.AbsolutePosition.Y > (int)Constants.RegionSize) | 1886 | (grp.AbsolutePosition.Y > (int)Constants.RegionSize) |
1887 | ? 250 | 1887 | ? Constants.RegionSize - 6 |
1888 | : grp.AbsolutePosition.Y, | 1888 | : grp.AbsolutePosition.Y, |
1889 | grp.AbsolutePosition.Z); | 1889 | grp.AbsolutePosition.Z); |
1890 | 1890 | ||