mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
* refactor: Replace derez destiation magic numbers with an enumeration
This commit is contained in:
@@ -4162,9 +4162,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
foreach (DeRezObjectPacket.ObjectDataBlock data in
|
||||
DeRezPacket.ObjectData)
|
||||
{
|
||||
// It just so happens that the values on the DeRezAction enumerator match the Destination
|
||||
// values given by a Second Life client
|
||||
handlerDeRezObject(this, data.ObjectLocalID,
|
||||
DeRezPacket.AgentBlock.GroupID,
|
||||
DeRezPacket.AgentBlock.Destination,
|
||||
(DeRezAction)DeRezPacket.AgentBlock.Destination,
|
||||
DeRezPacket.AgentBlock.DestinationID);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user