aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorAdam Frisby2007-07-24 05:23:28 +0000
committerAdam Frisby2007-07-24 05:23:28 +0000
commit402aa1b0d2cb69ab1f2256158c17fcd42d5594fe (patch)
tree53105d4452e3d797ba14690a1424c0373e3558b9 /OpenSim
parent* Terrain should now send just updated patches. (diff)
downloadopensim-SC_OLD-402aa1b0d2cb69ab1f2256158c17fcd42d5594fe.zip
opensim-SC_OLD-402aa1b0d2cb69ab1f2256158c17fcd42d5594fe.tar.gz
opensim-SC_OLD-402aa1b0d2cb69ab1f2256158c17fcd42d5594fe.tar.bz2
opensim-SC_OLD-402aa1b0d2cb69ab1f2256158c17fcd42d5594fe.tar.xz
* Small fix, patch values should be multiplied by their size (16)
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 564ba5f..81754ae 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -254,7 +254,7 @@ namespace OpenSim.Region.Environment.Scenes
254 { 254 {
255 for (int y = 0; y < 16; y++) 255 for (int y = 0; y < 16; y++)
256 { 256 {
257 if (Terrain.Tainted(x, y)) 257 if (Terrain.Tainted(x * 16, y * 16))
258 { 258 {
259 SendLayerData(x, y, presence.ControllingClient, terData); 259 SendLayerData(x, y, presence.ControllingClient, terData);
260 } 260 }