diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/EventManager.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/EventManager.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/EventManager.cs b/OpenSim/Region/Environment/Scenes/EventManager.cs index cdaff51..598f8b4 100644 --- a/OpenSim/Region/Environment/Scenes/EventManager.cs +++ b/OpenSim/Region/Environment/Scenes/EventManager.cs | |||
@@ -98,7 +98,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
98 | 98 | ||
99 | public delegate void OnPermissionErrorDelegate(UUID user, string reason); | 99 | public delegate void OnPermissionErrorDelegate(UUID user, string reason); |
100 | 100 | ||
101 | public delegate void OnSetRootAgentSceneDelegate(UUID agentID); | 101 | public delegate void OnSetRootAgentSceneDelegate(UUID agentID, Scene scene); |
102 | 102 | ||
103 | public event OnSetRootAgentSceneDelegate OnSetRootAgentScene; | 103 | public event OnSetRootAgentSceneDelegate OnSetRootAgentScene; |
104 | 104 | ||
@@ -919,11 +919,11 @@ namespace OpenSim.Region.Environment.Scenes | |||
919 | handlerCollidingEnd(localId, colliders); | 919 | handlerCollidingEnd(localId, colliders); |
920 | } | 920 | } |
921 | 921 | ||
922 | public void TriggerSetRootAgentScene(UUID agentID) | 922 | public void TriggerSetRootAgentScene(UUID agentID, Scene scene) |
923 | { | 923 | { |
924 | handlerSetRootAgentScene = OnSetRootAgentScene; | 924 | handlerSetRootAgentScene = OnSetRootAgentScene; |
925 | if (handlerSetRootAgentScene != null) | 925 | if (handlerSetRootAgentScene != null) |
926 | handlerSetRootAgentScene(agentID); | 926 | handlerSetRootAgentScene(agentID, scene); |
927 | } | 927 | } |
928 | } | 928 | } |
929 | } | 929 | } |