Removed unused functions.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5028 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2010-03-19 04:20:45 +00:00
parent 6b156233fb
commit 625d7a91ed
2 changed files with 1 additions and 15 deletions

View File

@ -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

View File

@ -24,6 +24,7 @@
#include <vector>
#include <map>
#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();