some small changes

This commit is contained in:
MW
2007-10-31 09:18:24 +00:00
parent f42afe81af
commit a9ad16b13a
5 changed files with 13 additions and 11 deletions

View File

@@ -843,11 +843,11 @@ namespace OpenSim.Region.ClientStack
///
/// </summary>
/// <param name="wearables"></param>
public void SendWearables(AvatarWearable[] wearables)
public void SendWearables(AvatarWearable[] wearables, int serial)
{
AgentWearablesUpdatePacket aw = new AgentWearablesUpdatePacket();
aw.AgentData.AgentID = AgentId;
aw.AgentData.SerialNum = 0;
aw.AgentData.SerialNum = (uint)serial;
aw.AgentData.SessionID = m_sessionId;
aw.WearableData = new AgentWearablesUpdatePacket.WearableDataBlock[13];

View File

@@ -203,7 +203,7 @@ namespace OpenSim.Region.ClientStack
{
if (debug > 0)
{
string info;
string info= "";
if (debug < 255 && packet.Type == PacketType.AgentUpdate)
return;
if (debug < 254 && packet.Type == PacketType.ViewerEffect)