Small consistency change

slimupdates
Melanie 2010-03-07 16:05:24 +00:00
parent 2e5f7ec926
commit 89a739b45f
1 changed files with 2 additions and 2 deletions

View File

@ -5900,7 +5900,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
for (int i = 0; i < rules.Length; i += 2)
{
switch (Convert.ToInt32(rules.Data[i]))
switch (rules.GetLSLIntegerItem(i))
{
case (int)ScriptBaseClass.PSYS_PART_FLAGS:
prules.PartDataFlags = (Primitive.ParticleSystem.ParticleDataFlags)(uint)rules.GetLSLIntegerItem(i + 1);