aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen
diff options
context:
space:
mode:
authorPaul Gilbert2017-11-25 16:48:50 -0500
committerPaul Gilbert2017-11-25 16:48:50 -0500
commit88ef0087e5896b4970ad92586dcd6504ec3fbfd9 (patch)
treef8534319bee8f13dd9dbd6b9e73b47e4602820cd /engines/xeen
parentab7c0d38cb34038f22ef91f46643d940bf771c62 (diff)
downloadscummvm-rg350-88ef0087e5896b4970ad92586dcd6504ec3fbfd9.tar.gz
scummvm-rg350-88ef0087e5896b4970ad92586dcd6504ec3fbfd9.tar.bz2
scummvm-rg350-88ef0087e5896b4970ad92586dcd6504ec3fbfd9.zip
XEEN: Fix 'No items available' getting repeated multiple times
Diffstat (limited to 'engines/xeen')
-rw-r--r--engines/xeen/dialogs_items.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/dialogs_items.cpp b/engines/xeen/dialogs_items.cpp
index ffd41d5f75..1fcea012d1 100644
--- a/engines/xeen/dialogs_items.cpp
+++ b/engines/xeen/dialogs_items.cpp
@@ -168,7 +168,7 @@ Character *ItemsDialog::execute(Character *c, ItemsMode mode) {
ds._frame = i._frame;
else
ds._frame = 14;
- } else if (ds._sprites == nullptr) {
+ } else if (ds._sprites == nullptr && idx == 0) {
lines.push_back(Res.NO_ITEMS_AVAILABLE);
}
break;