Small consistency change

avinationmerge
Melanie 2010-03-07 16:05:24 +00:00
parent 8180c72cbc
commit 49baf090cd
1 changed files with 2 additions and 2 deletions

View File

@ -6067,7 +6067,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);