Attempting to make a potion with no effects removes the ingredients (Fixes #2722)

c++11
scrawl 10 years ago
parent 33a3dabc31
commit 6f34a0501a

@ -463,7 +463,10 @@ MWMechanics::Alchemy::Result MWMechanics::Alchemy::create (const std::string& na
return Result_NoName;
if (listEffects().empty())
{
removeIngredients();
return Result_NoEffects;
}
if (beginEffects() == endEffects())
{

Loading…
Cancel
Save