aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-11-28 17:18:10 +0000
committerJustin Clarke Casey2008-11-28 17:18:10 +0000
commitdf9b0e9e1131cd3fd9b0361d4d75c7242e04d848 (patch)
tree1acbd9fa0ddfaf0784c82651bc4693377d33a0df /OpenSim/Region/ClientStack
parent* minor: remove unused JId class (diff)
downloadopensim-SC_OLD-df9b0e9e1131cd3fd9b0361d4d75c7242e04d848.zip
opensim-SC_OLD-df9b0e9e1131cd3fd9b0361d4d75c7242e04d848.tar.gz
opensim-SC_OLD-df9b0e9e1131cd3fd9b0361d4d75c7242e04d848.tar.bz2
opensim-SC_OLD-df9b0e9e1131cd3fd9b0361d4d75c7242e04d848.tar.xz
* refactor: Replace derez destiation magic numbers with an enumeration
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index 94040ca..7d31c77 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -4162,9 +4162,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP
4162 foreach (DeRezObjectPacket.ObjectDataBlock data in 4162 foreach (DeRezObjectPacket.ObjectDataBlock data in
4163 DeRezPacket.ObjectData) 4163 DeRezPacket.ObjectData)
4164 { 4164 {
4165 // It just so happens that the values on the DeRezAction enumerator match the Destination
4166 // values given by a Second Life client
4165 handlerDeRezObject(this, data.ObjectLocalID, 4167 handlerDeRezObject(this, data.ObjectLocalID,
4166 DeRezPacket.AgentBlock.GroupID, 4168 DeRezPacket.AgentBlock.GroupID,
4167 DeRezPacket.AgentBlock.Destination, 4169 (DeRezAction)DeRezPacket.AgentBlock.Destination,
4168 DeRezPacket.AgentBlock.DestinationID); 4170 DeRezPacket.AgentBlock.DestinationID);
4169 } 4171 }
4170 } 4172 }