mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
minor: Remove unused System.Linq reference and use ParcelFlags.None instead of 0 from previous commit cb1f28
This commit is contained in:
committed by
Melanie
parent
fb321a0573
commit
c77cd6adc7
@@ -27,7 +27,6 @@
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using log4net;
|
||||
using OpenMetaverse;
|
||||
@@ -390,7 +389,7 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||
ParcelFlags.DenyAgeUnverified);
|
||||
}
|
||||
|
||||
if (allowedDelta != 0)
|
||||
if (allowedDelta != (uint)ParcelFlags.None)
|
||||
{
|
||||
uint preserve = LandData.Flags & ~allowedDelta;
|
||||
newData.Flags = preserve | (args.ParcelFlags & allowedDelta);
|
||||
|
||||
Reference in New Issue
Block a user