Issue #492: fixed double alchemy ingredients removal

actorid
Marc Zinnschlag 12 years ago
parent 556d737f65
commit b25f2e88ce

@ -119,7 +119,6 @@ namespace MWGui
if (mIngredients[i]->isUserString("ToolTipType"))
{
MWWorld::Ptr ingred = *mIngredients[i]->getUserData<MWWorld::Ptr>();
ingred.getRefData().setCount(ingred.getRefData().getCount()-1);
if (ingred.getRefData().getCount() == 0)
removeIngredient(mIngredients[i]);
}

Loading…
Cancel
Save