Issue #356: added a missing return

actorid
Marc Zinnschlag 12 years ago
parent 9de7b3bf90
commit 2ccd7a480d

@ -142,6 +142,8 @@ namespace MWMechanics
result.first.list.push_back (effect);
result.second = true;
return result;
}
throw std::runtime_error ("ID " + id + " can not produce lasting effects");

Loading…
Cancel
Save