From 59af886680d4034e38a1a24a532bb1dd1160516b Mon Sep 17 00:00:00 2001
From: Melanie Thielker
Date: Sat, 7 Aug 2010 05:42:30 +0200
Subject: Change the (hackish) constant to match the changed enum for attachs

---
 OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'OpenSim/Region')

diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
index d895bb1..365cdbb 100644
--- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
@@ -279,8 +279,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
                         objatt.HasGroupChanged = true;
 
                     // Fire after attach, so we don't get messy perms dialogs
-                    // 3 == AttachedRez
-                    objatt.CreateScriptInstances(0, true, m_scene.DefaultScriptEngine, 3);
+                    // 4 == AttachedRez
+                    objatt.CreateScriptInstances(0, true, m_scene.DefaultScriptEngine, 4);
                     objatt.ResumeScripts();
 
                     // Do this last so that event listeners have access to all the effects of the attachment
-- 
cgit v1.1