aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 3154f9e..180fba9 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -6065,7 +6065,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
6065 6065
6066 for (int i = 0; i < rules.Length; i += 2) 6066 for (int i = 0; i < rules.Length; i += 2)
6067 { 6067 {
6068 switch (Convert.ToInt32(rules.Data[i])) 6068 switch (rules.GetLSLIntegerItem(i))
6069 { 6069 {
6070 case (int)ScriptBaseClass.PSYS_PART_FLAGS: 6070 case (int)ScriptBaseClass.PSYS_PART_FLAGS:
6071 prules.PartDataFlags = (Primitive.ParticleSystem.ParticleDataFlags)(uint)rules.GetLSLIntegerItem(i + 1); 6071 prules.PartDataFlags = (Primitive.ParticleSystem.ParticleDataFlags)(uint)rules.GetLSLIntegerItem(i + 1);