Fix some warnings under mono.

This commit is contained in:
Jeff Ames
2008-01-11 21:08:37 +00:00
parent edf006e28a
commit ef674acc24
2 changed files with 3 additions and 3 deletions

View File

@@ -162,7 +162,7 @@ namespace OpenSim.Region.Environment.Scenes
public bool AddInventoryItem(IClientAPI remoteClient, uint localID,
InventoryItemBase item, LLUUID copyItemID)
{
LLUUID newItemId = ((copyItemID != null) ? copyItemID : item.inventoryID);
LLUUID newItemId = (!copyItemID.Equals(null)) ? copyItemID : item.inventoryID;
SceneObjectPart part = GetChildPart(localID);
if (part != null)