aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs')
-rw-r--r--OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs b/OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs
index e4397e3..fe11505 100644
--- a/OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs
+++ b/OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs
@@ -2170,8 +2170,8 @@ namespace OpenSim.Region.PhysicsModule.ubOde
2170 yy += regionsizeX; 2170 yy += regionsizeX;
2171 2171
2172 val = heightMap[yy + xx]; 2172 val = heightMap[yy + xx];
2173 if (val < 0.0f) 2173 if (val < -100.0f)
2174 val = 0.0f; // no neg terrain as in chode 2174 val = -100.0f;
2175 _heightmap[xt + y] = val; 2175 _heightmap[xt + y] = val;
2176 2176
2177 if (hfmin > val) 2177 if (hfmin > val)
@@ -2279,8 +2279,8 @@ namespace OpenSim.Region.PhysicsModule.ubOde
2279 xx++; 2279 xx++;
2280 2280
2281 val = heightMap[yy + xx]; 2281 val = heightMap[yy + xx];
2282 if (val < 0.0f) 2282 if (val < -100.0f)
2283 val = 0.0f; // no neg terrain as in chode 2283 val = -100.0f;
2284 _heightmap[yt + x] = val; 2284 _heightmap[yt + x] = val;
2285 2285
2286 if (hfmin > val) 2286 if (hfmin > val)