diff --git a/src/items/item_manager.cpp b/src/items/item_manager.cpp index a3ac4bae3..836014797 100644 --- a/src/items/item_manager.cpp +++ b/src/items/item_manager.cpp @@ -280,15 +280,3 @@ void ItemManager::switchItems() m_switch_time = m_switch_time < 0 ? stk_config->m_item_switch_time : -1; } // switchItems - -//----------------------------------------------------------------------------- -void ItemManager::setItem(const lisp::Lisp *item_node, - const char *colour, Item::ItemType type) -{ - std::string name; - item_node->get(colour, name); - if(name.size()>0) - { - m_item_mesh[type]=m_all_meshes[name]; - } -} // setItem diff --git a/src/items/item_manager.hpp b/src/items/item_manager.hpp index be65b36b1..6da8ecba5 100644 --- a/src/items/item_manager.hpp +++ b/src/items/item_manager.hpp @@ -24,6 +24,7 @@ #include #include #include "items/item.hpp" +#include "lisp/lisp.hpp" class Kart; @@ -50,9 +51,6 @@ private: * value is <0, it indicates that the items are not switched atm. */ float m_switch_time; - void setItem(const lisp::Lisp *item_node, const char *colour, - Item::ItemType type); - public: ItemManager(); ~ItemManager();