Minor formatting cleanup.

This commit is contained in:
Jeff Ames
2008-08-07 12:55:46 +00:00
parent dddf7bba4e
commit 0718aa0b7f
19 changed files with 82 additions and 82 deletions

View File

@@ -115,7 +115,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
protected LLUUID m_activeGroupID = LLUUID.Zero;
protected string m_activeGroupName = String.Empty;
protected ulong m_activeGroupPowers = 0;
protected Dictionary<LLUUID,ulong> m_groupPowers = new Dictionary<LLUUID, ulong>();
protected Dictionary<LLUUID,ulong> m_groupPowers = new Dictionary<LLUUID, ulong>();
/* Instantiated Designated Event Delegates */
//- used so we don't create new objects for each incoming packet and then toss it out later */
@@ -293,12 +293,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP
get { return m_activeGroupPowers; }
}
public ulong GetGroupPowers(LLUUID groupID)
{
if(m_groupPowers.ContainsKey(groupID))
return m_groupPowers[groupID];
return 0;
}
public ulong GetGroupPowers(LLUUID groupID)
{
if (m_groupPowers.ContainsKey(groupID))
return m_groupPowers[groupID];
return 0;
}
/// <summary>
/// This is a utility method used by single states to not duplicate kicks and blue card of death messages.
@@ -6292,7 +6292,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
packet.ObjectData.ObjectID = objectID;
SetFollowCamPropertiesPacket.CameraPropertyBlock[] camPropBlock = new SetFollowCamPropertiesPacket.CameraPropertyBlock[parameters.Count];
uint idx = 0;
foreach(KeyValuePair<int, float> pair in parameters)
foreach (KeyValuePair<int, float> pair in parameters)
{
SetFollowCamPropertiesPacket.CameraPropertyBlock block = new SetFollowCamPropertiesPacket.CameraPropertyBlock();
block.Type = pair.Key;