aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/OpenSim.Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs')
-rw-r--r--OpenSim/OpenSim.Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs16
1 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/OpenSim.Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs b/OpenSim/OpenSim.Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs
index 5636b13..341ffbb 100644
--- a/OpenSim/OpenSim.Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs
+++ b/OpenSim/OpenSim.Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs
@@ -120,22 +120,22 @@ namespace OpenSim.Physics.BasicPhysicsPlugin
120 } 120 }
121 else 121 else
122 { 122 {
123 if (actor.Position.Y < -1) 123 if (actor.Position.Y < 0)
124 { 124 {
125 actor.Position.Y = -1; 125 actor.Position.Y = 0;
126 } 126 }
127 else if (actor.Position.Y > 257) 127 else if (actor.Position.Y > 256)
128 { 128 {
129 actor.Position.Y = 257; 129 actor.Position.Y = 256;
130 } 130 }
131 131
132 if (actor.Position.X < -1) 132 if (actor.Position.X < 0)
133 { 133 {
134 actor.Position.X = -1; 134 actor.Position.X = 0;
135 } 135 }
136 if (actor.Position.X > 257) 136 if (actor.Position.X > 256)
137 { 137 {
138 actor.Position.X = 257; 138 actor.Position.X = 256;
139 } 139 }
140 } 140 }
141 //} 141 //}