Set sim.PositionIndexYou and PositionIndexPrey to -1 by default. This is the correct default value sent by the simulator.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1399 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -311,9 +311,9 @@ namespace libsecondlife
|
||||
/// <summary>Coarse locations of avatars in this simulator</summary>
|
||||
internal List<LLVector3> avatarPositions = new List<LLVector3>();
|
||||
/// <summary>AvatarPositions index representing your avatar</summary>
|
||||
internal int positionIndexYou;
|
||||
internal int positionIndexYou = -1;
|
||||
/// <summary>AvatarPositions index representing TrackAgent target</summary>
|
||||
internal int positionIndexPrey;
|
||||
internal int positionIndexPrey = -1;
|
||||
/// <summary>Sequence numbers of packets we've finished processing
|
||||
/// (for duplicate checking)</summary>
|
||||
internal Queue<uint> PacketArchive;
|
||||
|
||||
Reference in New Issue
Block a user