mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-17 01:10:10 +00:00
pass full count of coins to createGold() in moveToCell()
This commit is contained in:
parent
baf7ef2525
commit
8867e76fd7
@ -216,7 +216,7 @@ namespace MWClass
|
||||
MWWorld::Ptr newPtr;
|
||||
if (isGold(ptr))
|
||||
{
|
||||
newPtr = createGold(cell, getValue(ptr));
|
||||
newPtr = createGold(cell, getValue(ptr) * ptr.getRefData().getCount());
|
||||
newPtr.getRefData() = ptr.getRefData();
|
||||
newPtr.getCellRef().setRefNum(ptr.getCellRef().getRefNum());
|
||||
newPtr.getCellRef().setGoldValue(ptr.getCellRef().getGoldValue());
|
||||
|
Loading…
Reference in New Issue
Block a user