Small consistency change
parent
2e5f7ec926
commit
89a739b45f
|
@ -5900,7 +5900,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