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

0.8.0.3
Justin Clark-Casey (justincc) 2014-04-23 19:55:51 +01:00
parent cb1f2886cd
commit 5092cbd77e
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;
@ -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);