diff options
Diffstat (limited to 'OpenSim/Region/Physics/Manager/PhysicsScene.cs')
-rw-r--r-- | OpenSim/Region/Physics/Manager/PhysicsScene.cs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/OpenSim/Region/Physics/Manager/PhysicsScene.cs b/OpenSim/Region/Physics/Manager/PhysicsScene.cs index 1bab7e1..a9b30e1 100644 --- a/OpenSim/Region/Physics/Manager/PhysicsScene.cs +++ b/OpenSim/Region/Physics/Manager/PhysicsScene.cs | |||
@@ -180,11 +180,7 @@ namespace OpenSim.Region.Physics.Manager | |||
180 | public virtual PhysicsActor AddAvatar( | 180 | public virtual PhysicsActor AddAvatar( |
181 | uint localID, string avName, Vector3 position, Vector3 size, bool isFlying) | 181 | uint localID, string avName, Vector3 position, Vector3 size, bool isFlying) |
182 | { | 182 | { |
183 | PhysicsActor ret = AddAvatar(avName, position, Vector3.Zero, size, isFlying); | 183 | PhysicsActor ret = AddAvatar(localID, avName, position, Vector3.Zero, size, isFlying); |
184 | |||
185 | if (ret != null) | ||
186 | ret.LocalID = localID; | ||
187 | |||
188 | return ret; | 184 | return ret; |
189 | } | 185 | } |
190 | 186 | ||