One should not commit even the smallest fox without compile. Fix build break

0.6.0-stable
Melanie Thielker 2008-10-06 03:27:16 +00:00
parent c4ab9482b5
commit fd96bb6f43
1 changed files with 6 additions and 6 deletions

View File

@ -255,18 +255,18 @@ namespace OpenSim.Region.Environment.Scenes
perms &= part.MaskEffectivePermissions(); perms &= part.MaskEffectivePermissions();
} }
if (ownerMask & (uint)PermissionMask.Modify) == 0) if ((ownerMask & (uint)PermissionMask.Modify) == 0)
perms &= ~(uint)PermissionMask.Modify; perms &= ~(uint)PermissionMask.Modify;
if (ownerMask & (uint)PermissionMask.Copy) == 0) if ((ownerMask & (uint)PermissionMask.Copy) == 0)
perms &= ~(uint)PermissionMask.Copy; perms &= ~(uint)PermissionMask.Copy;
if (ownerMask & (uint)PermissionMask.Transfer) == 0) if ((ownerMask & (uint)PermissionMask.Transfer) == 0)
perms &= ~(uint)PermissionMask.Transfer; perms &= ~(uint)PermissionMask.Transfer;
if (ownerMask & RootPart.NextOwnerMask & (uint)PermissionMask.Modify) == 0) if ((ownerMask & RootPart.NextOwnerMask & (uint)PermissionMask.Modify) == 0)
perms &= ~((uint)PermissionMask.Modify >> 13); perms &= ~((uint)PermissionMask.Modify >> 13);
if (ownerMask & RootPart.NextOwnerMask & (uint)PermissionMask.Copy) == 0) if ((ownerMask & RootPart.NextOwnerMask & (uint)PermissionMask.Copy) == 0)
perms &= ~((uint)PermissionMask.Copy >> 13); perms &= ~((uint)PermissionMask.Copy >> 13);
if (ownerMask & RootPart.NextOwnerMask & (uint)PermissionMask.Transfer) == 0) if ((ownerMask & RootPart.NextOwnerMask & (uint)PermissionMask.Transfer) == 0)
perms &= ~((uint)PermissionMask.Transfer >> 13); perms &= ~((uint)PermissionMask.Transfer >> 13);
return perms; return perms;