diff options
author | John Hurliman | 2009-10-25 23:16:12 -0700 |
---|---|---|
committer | John Hurliman | 2009-10-26 18:23:43 -0700 |
commit | d199767e6991d6f368661fce9c5a072e564b8a4b (patch) | |
tree | d9347b8a424c0164e208f908613aa8fe1511444b /OpenSim/Region/CoreModules | |
parent | * Double the priority on avatar bake texture requests to get avatars rezzing ... (diff) | |
download | opensim-SC_OLD-d199767e6991d6f368661fce9c5a072e564b8a4b.zip opensim-SC_OLD-d199767e6991d6f368661fce9c5a072e564b8a4b.tar.gz opensim-SC_OLD-d199767e6991d6f368661fce9c5a072e564b8a4b.tar.bz2 opensim-SC_OLD-d199767e6991d6f368661fce9c5a072e564b8a4b.tar.xz |
Experimental change of PhysicsVector to Vector3. Untested
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs index 53c64cb..93a949a 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | |||
@@ -264,10 +264,8 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
264 | avatar.ControllingClient.SendAlertMessage( | 264 | avatar.ControllingClient.SendAlertMessage( |
265 | "You are not allowed on this parcel because you are banned. Please go away."); | 265 | "You are not allowed on this parcel because you are banned. Please go away."); |
266 | 266 | ||
267 | avatar.PhysicsActor.Position = | 267 | avatar.PhysicsActor.Position = avatar.lastKnownAllowedPosition; |
268 | new PhysicsVector(avatar.lastKnownAllowedPosition.X, avatar.lastKnownAllowedPosition.Y, | 268 | avatar.PhysicsActor.Velocity = Vector3.Zero; |
269 | avatar.lastKnownAllowedPosition.Z); | ||
270 | avatar.PhysicsActor.Velocity = new PhysicsVector(0, 0, 0); | ||
271 | } | 269 | } |
272 | else | 270 | else |
273 | { | 271 | { |