diff options
author | Melanie | 2010-03-07 16:05:24 +0000 |
---|---|---|
committer | Melanie | 2010-03-07 16:06:52 +0000 |
commit | 3d053b194a641c64158045720e2d82735bdfaec5 (patch) | |
tree | b38d5c27e64cfdd068013858fc96818b100920fe /OpenSim/Region | |
parent | - implementing server 1.38 functions (diff) | |
download | opensim-SC-3d053b194a641c64158045720e2d82735bdfaec5.zip opensim-SC-3d053b194a641c64158045720e2d82735bdfaec5.tar.gz opensim-SC-3d053b194a641c64158045720e2d82735bdfaec5.tar.bz2 opensim-SC-3d053b194a641c64158045720e2d82735bdfaec5.tar.xz |
Small consistency change
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 |
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); |