mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 05:45:37 +08:00
Small consistency change
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user