aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorMelanie2010-03-07 16:05:24 +0000
committerMelanie2010-03-07 16:06:52 +0000
commit3d053b194a641c64158045720e2d82735bdfaec5 (patch)
treeb38d5c27e64cfdd068013858fc96818b100920fe /OpenSim/Region
parent- implementing server 1.38 functions (diff)
downloadopensim-SC_OLD-3d053b194a641c64158045720e2d82735bdfaec5.zip
opensim-SC_OLD-3d053b194a641c64158045720e2d82735bdfaec5.tar.gz
opensim-SC_OLD-3d053b194a641c64158045720e2d82735bdfaec5.tar.bz2
opensim-SC_OLD-3d053b194a641c64158045720e2d82735bdfaec5.tar.xz
Small consistency change
Diffstat (limited to 'OpenSim/Region')
-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);