Allow TPing multiple people in the friends list in one go.

avinationmerge
Melanie 2010-12-07 23:01:42 +01:00
parent 549f90c5b5
commit b9f54fca5d
1 changed files with 10 additions and 5 deletions

View File

@ -10501,11 +10501,16 @@ namespace OpenSim.Region.ClientStack.LindenUDP
StartLure handlerStartLure = OnStartLure; StartLure handlerStartLure = OnStartLure;
if (handlerStartLure != null) if (handlerStartLure != null)
{
for (int i = 0 ; i < startLureRequest.TargetData.Length ; i++)
{
handlerStartLure(startLureRequest.Info.LureType, handlerStartLure(startLureRequest.Info.LureType,
Utils.BytesToString( Utils.BytesToString(
startLureRequest.Info.Message), startLureRequest.Info.Message),
startLureRequest.TargetData[0].TargetID, startLureRequest.TargetData[i].TargetID,
this); this);
}
}
return true; return true;
} }
private bool HandleTeleportLureRequest(IClientAPI sender, Packet Pack) private bool HandleTeleportLureRequest(IClientAPI sender, Packet Pack)