aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-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 4661488..aa2c8b3 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -6067,7 +6067,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
6067 6067
6068 for (int i = 0; i < rules.Length; i += 2) 6068 for (int i = 0; i < rules.Length; i += 2)
6069 { 6069 {
6070 switch (Convert.ToInt32(rules.Data[i])) 6070 switch (rules.GetLSLIntegerItem(i))
6071 { 6071 {
6072 case (int)ScriptBaseClass.PSYS_PART_FLAGS: 6072 case (int)ScriptBaseClass.PSYS_PART_FLAGS:
6073 prules.PartDataFlags = (Primitive.ParticleSystem.ParticleDataFlags)(uint)rules.GetLSLIntegerItem(i + 1); 6073 prules.PartDataFlags = (Primitive.ParticleSystem.ParticleDataFlags)(uint)rules.GetLSLIntegerItem(i + 1);
@@ -10191,4 +10191,4 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
10191 } 10191 }
10192 } 10192 }
10193 } 10193 }
10194} \ No newline at end of file 10194}