mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-20 16:59:06 +00:00
XEEN: Fix 'No items available' getting repeated multiple times
This commit is contained in:
parent
ab7c0d38cb
commit
88ef0087e5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user