minor: Remove unused System.Linq reference and use ParcelFlags.None instead of 0 from previous commit cb1f28
parent
fb321a0573
commit
c77cd6adc7
|
@ -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;
|
||||||
|
@ -390,7 +389,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