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 a373046..3b2c9b1 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -5873,7 +5873,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
5873 5873
5874 for (int i = 0; i < rules.Length; i += 2) 5874 for (int i = 0; i < rules.Length; i += 2)
5875 { 5875 {
5876 switch (Convert.ToInt32(rules.Data[i])) 5876 switch (rules.GetLSLIntegerItem(i))
5877 { 5877 {
5878 case (int)ScriptBaseClass.PSYS_PART_FLAGS: 5878 case (int)ScriptBaseClass.PSYS_PART_FLAGS:
5879 prules.PartDataFlags = (Primitive.ParticleSystem.ParticleDataFlags)(uint)rules.GetLSLIntegerItem(i + 1); 5879 prules.PartDataFlags = (Primitive.ParticleSystem.ParticleDataFlags)(uint)rules.GetLSLIntegerItem(i + 1);