1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-18 13:12:50 +00:00

Merge branch 'dehardcode_steal' into 'master'

Remove Content file check when stealing

See merge request OpenMW/openmw!2987
This commit is contained in:
psi29a 2023-05-02 19:45:51 +00:00
commit dacbbc1d20

View File

@ -1090,11 +1090,6 @@ namespace MWMechanics
else
{
isAllowed = isAllowedToUse(ptr, item, victim);
if (!item.getCellRef().hasContentFile())
{
// this is a manually placed item, which means it was already stolen
return;
}
}
if (isAllowed)