diff options
author | Paul Gilbert | 2017-11-25 16:48:50 -0500 |
---|---|---|
committer | Paul Gilbert | 2017-11-25 16:48:50 -0500 |
commit | 88ef0087e5896b4970ad92586dcd6504ec3fbfd9 (patch) | |
tree | f8534319bee8f13dd9dbd6b9e73b47e4602820cd /engines | |
parent | ab7c0d38cb34038f22ef91f46643d940bf771c62 (diff) | |
download | scummvm-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')
-rw-r--r-- | engines/xeen/dialogs_items.cpp | 2 |
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; |