From 91557f18cd796e64158d2e3dbdef28d0b3927d1b Mon Sep 17 00:00:00 2001 From: Melanie Date: Thu, 7 Jun 2012 17:59:20 +0200 Subject: Set collision sound type so custom sound types are recognized --- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index a51c625..37738a5 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -4812,6 +4812,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { m_host.CollisionSoundVolume = (float)impact_volume; m_host.CollisionSound = m_host.invalidCollisionSoundUUID; + m_host,CollisionSoundType = 0; return; } // TODO: Parameter check logic required. @@ -4831,6 +4832,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api } m_host.CollisionSoundVolume = (float)impact_volume; m_host.CollisionSound = soundId; + m_host.CollisionSoundType = 1; } public LSL_String llGetAnimation(string id) -- cgit v1.1