Restack soulgems when use SoulTrap

pull/296/head
Andrei Kortunov 7 years ago
parent 2806a35a61
commit 9342a0254f

@ -209,6 +209,9 @@ namespace MWMechanics
gem->getContainerStore()->unstack(*gem, caster);
gem->getCellRef().setSoul(mCreature.getCellRef().getRefId());
// Restack the gem with other gems with the same soul
gem->getContainerStore()->restack(*gem);
mTrapped = true;
if (caster == getPlayer())

Loading…
Cancel
Save