aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2014-11-02 21:12:24 -0500
committerPaul Gilbert2014-12-12 22:22:01 -0500
commit43e8e905906ad77f1a98efd255ee7589edff7518 (patch)
tree241d7b8e78f3e9f690061bd414911e2b6dce8e4a /engines
parent38f010f96f3ba2ff1ff217912d196873ecc29877 (diff)
downloadscummvm-rg350-43e8e905906ad77f1a98efd255ee7589edff7518.tar.gz
scummvm-rg350-43e8e905906ad77f1a98efd255ee7589edff7518.tar.bz2
scummvm-rg350-43e8e905906ad77f1a98efd255ee7589edff7518.zip
ACCESS: Don't show inventory items that have been used
Diffstat (limited to 'engines')
-rw-r--r--engines/access/inventory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/access/inventory.cpp b/engines/access/inventory.cpp
index 25c906056f..bb735d45a9 100644
--- a/engines/access/inventory.cpp
+++ b/engines/access/inventory.cpp
@@ -255,7 +255,7 @@ void InventoryManager::getList() {
_tempLOff.clear();
for (uint i = 0; i < _inv.size(); ++i) {
- if (_inv[i]) {
+ if (_inv[i] == 1) {
_items.push_back(i);
_tempLOff.push_back(_names[i]);
}