Small consistency change
parent
8180c72cbc
commit
49baf090cd
|
@ -6067,7 +6067,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);
|
||||||
|
@ -10191,4 +10191,4 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue