From b32f28d74e9ec5cfe3bc443e2fbffd5de245fd0b Mon Sep 17 00:00:00 2001 From: Björn Steinbrink Date: Thu, 29 Dec 2005 12:30:46 +0000 Subject: Removed duplicate pick up code --- src/gui/popupmenu.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/gui/popupmenu.cpp') diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp index b1046553..8d0ace57 100644 --- a/src/gui/popupmenu.cpp +++ b/src/gui/popupmenu.cpp @@ -177,9 +177,7 @@ void PopupMenu::handleLink(const std::string& link) // Pick Up Floor Item action else if ((link == "pickup") && mFloorItem != NULL) { - MessageOut outMsg; - outMsg.writeInt16(CMSG_ITEM_PICKUP); - outMsg.writeInt32(mFloorItem->getId()); + pickUp(mFloorItem->getId()); } // Look To action -- cgit v1.2.3-70-g09d2