diff options
author | Melanie Thielker | 2009-04-20 21:58:32 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-04-20 21:58:32 +0000 |
commit | 01a22d940fa9894acef8cc21a9031ea2abd82656 (patch) | |
tree | e05fad4e87e5e29099cb1176189bd6262b4e7c29 | |
parent | Add PlacesQuery packet (diff) | |
download | opensim-SC-01a22d940fa9894acef8cc21a9031ea2abd82656.zip opensim-SC-01a22d940fa9894acef8cc21a9031ea2abd82656.tar.gz opensim-SC-01a22d940fa9894acef8cc21a9031ea2abd82656.tar.bz2 opensim-SC-01a22d940fa9894acef8cc21a9031ea2abd82656.tar.xz |
Change a bad use of a type name as a variable. Thanks, Fly-Man
Fixes Mantis #3497
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index c12cc69..4681230 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -4515,13 +4515,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
4515 | break; | 4515 | break; |
4516 | 4516 | ||
4517 | case PacketType.AvatarPropertiesUpdate: | 4517 | case PacketType.AvatarPropertiesUpdate: |
4518 | AvatarPropertiesUpdatePacket Packet = (AvatarPropertiesUpdatePacket)Pack; | 4518 | AvatarPropertiesUpdatePacket avatarProps = (AvatarPropertiesUpdatePacket)Pack; |
4519 | 4519 | ||
4520 | #region Packet Session and User Check | 4520 | #region Packet Session and User Check |
4521 | if (m_checkPackets) | 4521 | if (m_checkPackets) |
4522 | { | 4522 | { |
4523 | if (Packet.AgentData.SessionID != SessionId || | 4523 | if (avatarProps.AgentData.SessionID != SessionId || |
4524 | Packet.AgentData.AgentID != AgentId) | 4524 | avatarProps.AgentData.AgentID != AgentId) |
4525 | break; | 4525 | break; |
4526 | } | 4526 | } |
4527 | #endregion | 4527 | #endregion |
@@ -4529,7 +4529,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
4529 | handlerUpdateAvatarProperties = OnUpdateAvatarProperties; | 4529 | handlerUpdateAvatarProperties = OnUpdateAvatarProperties; |
4530 | if (handlerUpdateAvatarProperties != null) | 4530 | if (handlerUpdateAvatarProperties != null) |
4531 | { | 4531 | { |
4532 | AvatarPropertiesUpdatePacket.PropertiesDataBlock Properties = Packet.PropertiesData; | 4532 | AvatarPropertiesUpdatePacket.PropertiesDataBlock Properties = avatarProps.PropertiesData; |
4533 | UserProfileData UserProfile = new UserProfileData(); | 4533 | UserProfileData UserProfile = new UserProfileData(); |
4534 | UserProfile.ID = AgentId; | 4534 | UserProfile.ID = AgentId; |
4535 | UserProfile.AboutText = Utils.BytesToString(Properties.AboutText); | 4535 | UserProfile.AboutText = Utils.BytesToString(Properties.AboutText); |