diff options
author | Paul Gilbert | 2014-11-02 21:12:24 -0500 |
---|---|---|
committer | Paul Gilbert | 2014-12-12 22:22:01 -0500 |
commit | 43e8e905906ad77f1a98efd255ee7589edff7518 (patch) | |
tree | 241d7b8e78f3e9f690061bd414911e2b6dce8e4a | |
parent | 38f010f96f3ba2ff1ff217912d196873ecc29877 (diff) | |
download | scummvm-rg350-43e8e905906ad77f1a98efd255ee7589edff7518.tar.gz scummvm-rg350-43e8e905906ad77f1a98efd255ee7589edff7518.tar.bz2 scummvm-rg350-43e8e905906ad77f1a98efd255ee7589edff7518.zip |
ACCESS: Don't show inventory items that have been used
-rw-r--r-- | engines/access/inventory.cpp | 2 |
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]); } |