1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-07-15 03:31:42 +00:00
This commit is contained in:
Evil Eye 2023-12-20 13:58:43 +01:00
parent 1223d12b29
commit 532a330aac

View file

@ -73,7 +73,7 @@ std::vector<MWMechanics::EffectKey> MWMechanics::Alchemy::listEffects() const
{
if (const auto key = toKey(*ingredient, i))
{
if (std::ranges::find(effects, *key) != effects.end())
if (std::find(effects.begin(), effects.end(), *key) != effects.end())
continue;
if (containsEffect(*ingredient2, *key))
effects.push_back(*key);