aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMelanie2010-03-07 16:05:24 +0000
committerMelanie2010-03-07 16:08:00 +0000
commit49baf090cd1164b11b07fb372dff1d7b8b48c264 (patch)
tree7a07e6c6c763b4b7d4187ec0ea1de0b5fcd41272
parentMerge branch 'master' into careminster-presence-refactor (diff)
downloadopensim-SC_OLD-49baf090cd1164b11b07fb372dff1d7b8b48c264.zip
opensim-SC_OLD-49baf090cd1164b11b07fb372dff1d7b8b48c264.tar.gz
opensim-SC_OLD-49baf090cd1164b11b07fb372dff1d7b8b48c264.tar.bz2
opensim-SC_OLD-49baf090cd1164b11b07fb372dff1d7b8b48c264.tar.xz
Small consistency change
-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}