Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim

slimupdates
Diva Canto 2010-03-07 10:01:43 -08:00
commit 26673af974
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);
@ -9871,4 +9871,4 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
}
}
}
}
}