diff options
author | Melanie | 2010-03-07 16:05:24 +0000 |
---|---|---|
committer | Melanie | 2010-03-07 16:05:24 +0000 |
commit | 89a739b45f0384cd9fc0801ce71be7976f16a999 (patch) | |
tree | 65f6b9073afd73515905a24ca22512762d0001a1 /OpenSim | |
parent | Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff) | |
download | opensim-SC_OLD-89a739b45f0384cd9fc0801ce71be7976f16a999.zip opensim-SC_OLD-89a739b45f0384cd9fc0801ce71be7976f16a999.tar.gz opensim-SC_OLD-89a739b45f0384cd9fc0801ce71be7976f16a999.tar.bz2 opensim-SC_OLD-89a739b45f0384cd9fc0801ce71be7976f16a999.tar.xz |
Small consistency change
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 4 |
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 6f68305..59db81e 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -5900,7 +5900,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
5900 | 5900 | ||
5901 | for (int i = 0; i < rules.Length; i += 2) | 5901 | for (int i = 0; i < rules.Length; i += 2) |
5902 | { | 5902 | { |
5903 | switch (Convert.ToInt32(rules.Data[i])) | 5903 | switch (rules.GetLSLIntegerItem(i)) |
5904 | { | 5904 | { |
5905 | case (int)ScriptBaseClass.PSYS_PART_FLAGS: | 5905 | case (int)ScriptBaseClass.PSYS_PART_FLAGS: |
5906 | prules.PartDataFlags = (Primitive.ParticleSystem.ParticleDataFlags)(uint)rules.GetLSLIntegerItem(i + 1); | 5906 | prules.PartDataFlags = (Primitive.ParticleSystem.ParticleDataFlags)(uint)rules.GetLSLIntegerItem(i + 1); |
@@ -9871,4 +9871,4 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
9871 | } | 9871 | } |
9872 | } | 9872 | } |
9873 | } | 9873 | } |
9874 | } \ No newline at end of file | 9874 | } |