mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-01 10:45:33 +00:00
add re-stocking items to containers (though restocking isn't implemented)
This commit is contained in:
parent
9a3fd96a0c
commit
3cacc8feec
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ void MWWorld::ContainerStore::fill (const ESM::InventoryList& items, const ESMS:
|
|||
continue;
|
||||
}
|
||||
|
||||
ref.getPtr().getRefData().setCount (iter->count);
|
||||
ref.getPtr().getRefData().setCount (std::abs(iter->count)); /// \todo implement item restocking (indicated by negative count)
|
||||
add (ref.getPtr());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue