minor: Remove unused System.Linq reference and use ParcelFlags.None instead of 0 from previous commit cb1f28
parent
cb1f2886cd
commit
5092cbd77e
|
@ -27,7 +27,6 @@
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using log4net;
|
using log4net;
|
||||||
using OpenMetaverse;
|
using OpenMetaverse;
|
||||||
|
@ -368,7 +367,7 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||||
ParcelFlags.DenyAgeUnverified);
|
ParcelFlags.DenyAgeUnverified);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (allowedDelta != 0)
|
if (allowedDelta != (uint)ParcelFlags.None)
|
||||||
{
|
{
|
||||||
uint preserve = LandData.Flags & ~allowedDelta;
|
uint preserve = LandData.Flags & ~allowedDelta;
|
||||||
newData.Flags = preserve | (args.ParcelFlags & allowedDelta);
|
newData.Flags = preserve | (args.ParcelFlags & allowedDelta);
|
||||||
|
|
Loading…
Reference in New Issue