Small consistency change

avinationmerge
Melanie 2010-03-07 16:05:24 +00:00
parent 2fdd535302
commit c8c608acc8
1 changed files with 1 additions and 1 deletions

View File

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