diff options
author | Adam Frisby | 2007-07-24 05:23:28 +0000 |
---|---|---|
committer | Adam Frisby | 2007-07-24 05:23:28 +0000 |
commit | 402aa1b0d2cb69ab1f2256158c17fcd42d5594fe (patch) | |
tree | 53105d4452e3d797ba14690a1424c0373e3558b9 /OpenSim/Region/Environment | |
parent | * Terrain should now send just updated patches. (diff) | |
download | opensim-SC-402aa1b0d2cb69ab1f2256158c17fcd42d5594fe.zip opensim-SC-402aa1b0d2cb69ab1f2256158c17fcd42d5594fe.tar.gz opensim-SC-402aa1b0d2cb69ab1f2256158c17fcd42d5594fe.tar.bz2 opensim-SC-402aa1b0d2cb69ab1f2256158c17fcd42d5594fe.tar.xz |
* Small fix, patch values should be multiplied by their size (16)
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 2 |
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 | } |