Small consistency change

0.6.9
Melanie 2010-03-07 16:05:24 +00:00
parent 83929c69e3
commit 3d053b194a
1 changed files with 1 additions and 1 deletions

View File

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