From d6b30dd3a5df4b84a287305f807442064f4cf68d Mon Sep 17 00:00:00 2001 From: Kahrl Date: Tue, 29 Nov 2011 17:15:18 +0200 Subject: CraftItem rework and Lua interface --- src/content_sao.cpp | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'src/content_sao.cpp') 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<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 */ -- cgit v1.2.3