a bit better addAvatar() call chain

avinationmerge
UbitUmarov 2015-09-03 22:22:59 +01:00
parent 2f9a018bc8
commit 1434cb88fd
1 changed files with 1 additions and 5 deletions

View File

@ -180,11 +180,7 @@ namespace OpenSim.Region.Physics.Manager
public virtual PhysicsActor AddAvatar( public virtual PhysicsActor AddAvatar(
uint localID, string avName, Vector3 position, Vector3 size, bool isFlying) uint localID, string avName, Vector3 position, Vector3 size, bool isFlying)
{ {
PhysicsActor ret = AddAvatar(avName, position, Vector3.Zero, size, isFlying); PhysicsActor ret = AddAvatar(localID, avName, position, Vector3.Zero, size, isFlying);
if (ret != null)
ret.LocalID = localID;
return ret; return ret;
} }