summaryrefslogtreecommitdiff
path: root/src/content_sao.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/content_sao.cpp')
-rw-r--r--src/content_sao.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/content_sao.cpp b/src/content_sao.cpp
index b013069aa..414d63f2d 100644
--- a/src/content_sao.cpp
+++ b/src/content_sao.cpp
@@ -251,24 +251,6 @@ void ItemSAO::punch(ServerActiveObject *puncher)
delete item;
}
-void ItemSAO::rightClick(ServerActiveObject *clicker)
-{
- infostream<<__FUNCTION_NAME<<std::endl;
- InventoryItem *item = createInventoryItem();
- if(item == NULL)
- return;
-
- bool to_be_deleted = item->use(m_env, clicker);
-
- if(to_be_deleted)
- m_removed = true;
- else
- // Reflect changes to the item here
- m_inventorystring = item->getItemString();
-
- delete item; // Delete temporary item
-}
-
/*
RatSAO
*/