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;
if (handlerStartLure != null)
handlerStartLure(startLureRequest.Info.LureType,
Utils.BytesToString(
startLureRequest.Info.Message),
startLureRequest.TargetData[0].TargetID,
this);
{
for (int i = 0 ; i < startLureRequest.TargetData.Length ; i++)
{
handlerStartLure(startLureRequest.Info.LureType,
Utils.BytesToString(
startLureRequest.Info.Message),
startLureRequest.TargetData[i].TargetID,
this);
}
}
return true;
}
private bool HandleTeleportLureRequest(IClientAPI sender, Packet Pack)