1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-01 22:45:33 +00:00

Issue #356: added a missing return

This commit is contained in:
Marc Zinnschlag 2012-09-13 13:01:59 +02:00
parent 9de7b3bf90
commit 2ccd7a480d

View file

@ -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");