minor: Remove unused System.Linq reference and use ParcelFlags.None instead of 0 from previous commit cb1f28

avinationmerge
Justin Clark-Casey (justincc) 2014-04-23 19:55:51 +01:00 committed by Melanie
parent fb321a0573
commit c77cd6adc7
1 changed files with 1 additions and 2 deletions

View File

@ -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);