aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs11
1 files changed, 10 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
index b5faad5..27def3d 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
@@ -92,7 +92,16 @@ namespace OpenSim.Region.Environment.Scenes
92 break; 92 break;
93 } 93 }
94 94
95 remoteUser.SendLayerData((int)(west / 16), (int)(north / 16), Terrain.GetHeights1D()); 95 for (int x = 0; x < 16; x++)
96 {
97 for (int y = 0; y < 16; y++)
98 {
99 if (Terrain.Tainted(x * 16, y * 16))
100 {
101 remoteUser.SendLayerData(x, y, Terrain.GetHeights1D());
102 }
103 }
104 }
96 105
97 return; 106 return;
98 } 107 }