Small consistency change
parent
83929c69e3
commit
3d053b194a
|
@ -5873,7 +5873,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
|
|
||||||
for (int i = 0; i < rules.Length; i += 2)
|
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:
|
case (int)ScriptBaseClass.PSYS_PART_FLAGS:
|
||||||
prules.PartDataFlags = (Primitive.ParticleSystem.ParticleDataFlags)(uint)rules.GetLSLIntegerItem(i + 1);
|
prules.PartDataFlags = (Primitive.ParticleSystem.ParticleDataFlags)(uint)rules.GetLSLIntegerItem(i + 1);
|
||||||
|
|
Loading…
Reference in New Issue