Character.cpp
Item *Character::dropItem(char *itemName)
{
	
	Item *returnItem;

	returnItem = m_pBattleItems->dropItem(itemName);

	if(returnItem != NULL)
		return returnItem;
	else
		return m_pTreasureItems->dropItem(itemName);

    //return NULL;
}
//-----------------------------------------------
// Delete an item from the tree of items.  Return
// pointer to item if the item was found or NULL
// if it was not found in the tree.
//-----------------------------------------------

Delete an item from the tree of items.  Return
pointer to item if the item was found or NULL
if it was not found in the tree.
Delete an item from the tree of items . Return pointer to item if the item was found or NULL if it was not found in the tree .
Item *Character::dropItem(char *itemName)
{
	Item *returnItem;
	returnItem = m_pBattleItems->dropItem(itemName);
	if(returnItem != NULL)
		return returnItem;
	else
		return m_pTreasureItems->dropItem(itemName);
}
Item * Character :: dropItem ( char * itemName ) { Item * returnItem ; returnItem = m_pBattleItems -> dropItem ( itemName ) ; if ( returnItem != NULL ) return returnItem ; else return m_pTreasureItems -> dropItem ( itemName ) ; }
Delete an item from the tree of items.
Delete an item from the tree of items .
//return NULL;
