Fixed unused parameter.

This commit is contained in:
hiker 2018-09-24 08:37:38 +10:00
parent 7cabefc8e9
commit e467789e3a

View File

@ -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.
*/