[Scummvm-git-logs] scummvm master -> 88ef0087e5896b4970ad92586dcd6504ec3fbfd9

dreammaster dreammaster at scummvm.org
Sat Nov 25 22:48:58 CET 2017


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
88ef0087e5 XEEN: Fix 'No items available' getting repeated multiple times


Commit: 88ef0087e5896b4970ad92586dcd6504ec3fbfd9
    https://github.com/scummvm/scummvm/commit/88ef0087e5896b4970ad92586dcd6504ec3fbfd9
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-11-25T16:48:50-05:00

Commit Message:
XEEN: Fix 'No items available' getting repeated multiple times

Changed paths:
    engines/xeen/dialogs_items.cpp


diff --git a/engines/xeen/dialogs_items.cpp b/engines/xeen/dialogs_items.cpp
index ffd41d5..1fcea01 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;





More information about the Scummvm-git-logs mailing list