1
0

Added extra mushroom handler.

This commit is contained in:
Howaner
2014-09-12 19:34:19 +02:00
parent 1223a24d3c
commit 96e03fc3ea
4 changed files with 60 additions and 10 deletions

View File

@@ -627,13 +627,6 @@ void cPlayer::FinishEating(void)
return;
}
ItemHandler->OnFoodEaten(m_World, this, &Item);
// if the food is mushroom soup, return a bowl to the inventory
if (Item.m_ItemType == E_ITEM_MUSHROOM_SOUP)
{
GetInventory().RemoveOneEquippedItem();
GetInventory().AddItem(cItem(E_ITEM_BOWL), true, true);
}
}