aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.World/Avatar.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/OpenSim.World/Avatar.cs11
1 files changed, 3 insertions, 8 deletions
diff --git a/OpenSim/OpenSim.World/Avatar.cs b/OpenSim/OpenSim.World/Avatar.cs
index c251d57..4ab576c 100644
--- a/OpenSim/OpenSim.World/Avatar.cs
+++ b/OpenSim/OpenSim.World/Avatar.cs
@@ -55,21 +55,16 @@ namespace OpenSim.world
55 ControllingClient = theClient; 55 ControllingClient = theClient;
56 this.firstname = ControllingClient.FirstName; 56 this.firstname = ControllingClient.FirstName;
57 this.lastname = ControllingClient.LastName; 57 this.lastname = ControllingClient.LastName;
58 localid = 8880000 + (this.m_world._localNumber++); 58 localid = this.m_world.NextLocalId;
59 Pos = ControllingClient.StartPos; 59 Pos = ControllingClient.StartPos;
60 visualParams = new byte[218]; 60 visualParams = new byte[218];
61 for (int i = 0; i < 218; i++) 61 for (int i = 0; i < 218; i++)
62 { 62 {
63 visualParams[i] = 100; 63 visualParams[i] = 100;
64 } 64 }
65 Wearables = new AvatarWearable[13]; //should be 13 of these
66 for (int i = 0; i < 13; i++)
67 {
68 Wearables[i] = new AvatarWearable();
69 }
70 this.Wearables[0].AssetID = new LLUUID("66c41e39-38f9-f75a-024e-585989bfab73");
71 this.Wearables[0].ItemID = LLUUID.Random();
72 65
66 Wearables = AvatarWearable.DefaultWearables;
67
73 this.avatarAppearanceTexture = new LLObject.TextureEntry(new LLUUID("00000000-0000-0000-5005-000000000005")); 68 this.avatarAppearanceTexture = new LLObject.TextureEntry(new LLUUID("00000000-0000-0000-5005-000000000005"));
74 Console.WriteLine("avatar point 4"); 69 Console.WriteLine("avatar point 4");
75 70