1
0

Merge branch 'master' into 1.8-Protocol

This commit is contained in:
Howaner
2014-09-14 14:16:17 +02:00
58 changed files with 1738 additions and 2271 deletions

View File

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