diff options
Diffstat (limited to 'OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs')
-rw-r--r-- | OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs b/OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs index 004ee7f..0b51820 100644 --- a/OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs +++ b/OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs | |||
@@ -2361,8 +2361,8 @@ namespace OpenSim.Region.PhysicsModule.ubOde | |||
2361 | float val; | 2361 | float val; |
2362 | 2362 | ||
2363 | 2363 | ||
2364 | uint maxXX = regionsizeX - 1; | 2364 | uint maxXX = regionsizeX + 1; |
2365 | uint maxYY = regionsizeY - 1; | 2365 | uint maxYY = regionsizeY + 1; |
2366 | // adding one margin all around so things don't fall in edges | 2366 | // adding one margin all around so things don't fall in edges |
2367 | 2367 | ||
2368 | uint xx; | 2368 | uint xx; |