From b9f54fca5d4c395c7028e06a0dd7ba9551b23563 Mon Sep 17 00:00:00 2001 From: Melanie Date: Tue, 7 Dec 2010 23:01:42 +0100 Subject: Allow TPing multiple people in the friends list in one go. --- OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs') diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 478cfe6..f9e1e21 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs @@ -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) -- cgit v1.1