Fixed gold ref count always becoming 1 when dropped on the ground

actorid
scrawl 12 years ago
parent 5e3529783d
commit 4da11a96a5

@ -210,6 +210,7 @@ namespace MWClass
MWWorld::LiveCellRef<ESM::Miscellaneous> *ref =
newRef.getPtr().get<ESM::Miscellaneous>();
newPtr = MWWorld::Ptr(&cell.mMiscItems.insert(*ref), &cell);
newPtr.getRefData ().setCount(goldAmount);
} else {
MWWorld::LiveCellRef<ESM::Miscellaneous> *ref =
ptr.get<ESM::Miscellaneous>();

Loading…
Cancel
Save