aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared
diff options
context:
space:
mode:
authorMelanie2010-03-07 16:05:24 +0000
committerMelanie2010-03-07 16:07:40 +0000
commitc8c608acc8509ebc1651b4c2dd9094cbe64dcfb8 (patch)
tree4ecc4d7e3f4c20ed03ead9f046a219b785c014ce /OpenSim/Region/ScriptEngine/Shared
parentMerge branch 'master' of ssh://melanie@3dhosting.de/var/git/careminster into ... (diff)
downloadopensim-SC-c8c608acc8509ebc1651b4c2dd9094cbe64dcfb8.zip
opensim-SC-c8c608acc8509ebc1651b4c2dd9094cbe64dcfb8.tar.gz
opensim-SC-c8c608acc8509ebc1651b4c2dd9094cbe64dcfb8.tar.bz2
opensim-SC-c8c608acc8509ebc1651b4c2dd9094cbe64dcfb8.tar.xz
Small consistency change
Diffstat (limited to '')
-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);