* Added a -val heightfield value limiter so giant pits of death don't cause avatar to go into an endless plunge to the middle of the earth.
parent
98f4a568ad
commit
2259bc8ebf
|
@ -1077,7 +1077,11 @@ namespace OpenSim.Region.Physics.OdePlugin
|
|||
{
|
||||
for (int x = 0; x < 512; x++)
|
||||
{
|
||||
if (resultarr2[y, x] <= 0)
|
||||
returnarr[i] = 0.0000001f;
|
||||
else
|
||||
returnarr[i] = resultarr2[y, x];
|
||||
|
||||
i++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue