1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 15:59:54 +00:00

Merge branch 'nongeneratedactor' into 'master'

Revert conversion of actor id to generated refid

See merge request OpenMW/openmw!4493
This commit is contained in:
Alexei Kotov 2024-12-30 17:50:54 +00:00
commit b29949d5a7

View file

@ -196,7 +196,7 @@ namespace MWWorld
{
if (effect.mEffectId == key.mEffectId && effect.mEffectIndex == key.mEffectIndex)
{
effect.mArg = ESM::RefId::generated(static_cast<uint64_t>(actorId));
effect.mArg = actorId;
effect.mFlags |= ESM::ActiveEffect::Flag_Applied | ESM::ActiveEffect::Flag_Remove;
found = true;
break;