diff options
Diffstat (limited to 'OpenSim/Region/Terrain.BasicTerrain')
-rw-r--r-- | OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs index b34ca5e..c6feb03 100644 --- a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs +++ b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs | |||
@@ -297,9 +297,14 @@ namespace OpenSim.Region.Terrain | |||
297 | { | 297 | { |
298 | for (int y = 0; y < 16; y++) | 298 | for (int y = 0; y < 16; y++) |
299 | { | 299 | { |
300 | if (IsTainted(x*16, y*16)) | 300 | if (IsTainted(x * 16, y * 16)) |
301 | { | 301 | { |
302 | remoteUser.SendLayerData(x, y, GetHeights1D()); | 302 | bool usingTerrainModule = false; |
303 | |||
304 | if (!usingTerrainModule) | ||
305 | { | ||
306 | remoteUser.SendLayerData(x, y, GetHeights1D()); | ||
307 | } | ||
303 | } | 308 | } |
304 | } | 309 | } |
305 | } | 310 | } |