mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 03:45:32 +00:00
Fix leveled item argument issue (Fixes #2302)
This commit is contained in:
parent
89132ff741
commit
67491c7164
1 changed files with 2 additions and 2 deletions
|
@ -70,9 +70,9 @@ namespace MWMechanics
|
|||
else
|
||||
{
|
||||
if (ref.getPtr().getTypeName() == typeid(ESM::ItemLevList).name())
|
||||
return getLevelledItem(ref.getPtr().get<ESM::ItemLevList>()->mBase, failChance);
|
||||
return getLevelledItem(ref.getPtr().get<ESM::ItemLevList>()->mBase, false, failChance);
|
||||
else
|
||||
return getLevelledItem(ref.getPtr().get<ESM::CreatureLevList>()->mBase, failChance);
|
||||
return getLevelledItem(ref.getPtr().get<ESM::CreatureLevList>()->mBase, true, failChance);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue