mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 08:06:27 +08:00
Do a proper null check to avoid the overloaded operator == trap
This commit is contained in:
@@ -7785,7 +7785,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
foreach (SceneObjectPart part in parts)
|
||||
remaining = SetPrimParams(part, rules);
|
||||
|
||||
while(remaining != null && remaining.Length > 2)
|
||||
while((object)remaining != null && remaining.Length > 2)
|
||||
{
|
||||
linknumber = remaining.GetLSLIntegerItem(0);
|
||||
rules = remaining.GetSublist(1,-1);
|
||||
|
||||
Reference in New Issue
Block a user