Fixed unused parameter.
This commit is contained in:
parent
7cabefc8e9
commit
e467789e3a
@ -192,10 +192,9 @@ ItemManager::ItemManager()
|
||||
void ItemManager::setSwitchItems(const std::vector<int> &switch_items)
|
||||
{
|
||||
for(unsigned int i=ItemState::ITEM_FIRST; i<ItemState::ITEM_COUNT; i++)
|
||||
m_switch_to[i]=(ItemState::ItemType)stk_config->m_switch_items[i];
|
||||
m_switch_to[i]=(ItemState::ItemType)switch_items[i];
|
||||
} // setSwitchItems
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
/** Destructor. Cleans up all items and meshes stored.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user