aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 6f68305..59db81e 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -5900,7 +5900,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
5900 5900
5901 for (int i = 0; i < rules.Length; i += 2) 5901 for (int i = 0; i < rules.Length; i += 2)
5902 { 5902 {
5903 switch (Convert.ToInt32(rules.Data[i])) 5903 switch (rules.GetLSLIntegerItem(i))
5904 { 5904 {
5905 case (int)ScriptBaseClass.PSYS_PART_FLAGS: 5905 case (int)ScriptBaseClass.PSYS_PART_FLAGS:
5906 prules.PartDataFlags = (Primitive.ParticleSystem.ParticleDataFlags)(uint)rules.GetLSLIntegerItem(i + 1); 5906 prules.PartDataFlags = (Primitive.ParticleSystem.ParticleDataFlags)(uint)rules.GetLSLIntegerItem(i + 1);
@@ -9871,4 +9871,4 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
9871 } 9871 }
9872 } 9872 }
9873 } 9873 }
9874} \ No newline at end of file 9874}