aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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]);
}