diff options
Diffstat (limited to 'engines/xeen/dialogs_items.cpp')
-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 6136165aca..3b0b4ffbed 100644 --- a/engines/xeen/dialogs_items.cpp +++ b/engines/xeen/dialogs_items.cpp @@ -134,7 +134,7 @@ Character *ItemsDialog::execute(Character *c, ItemsMode mode) { break; } - for (int idx = 0; idx < 9; ++idx) { + for (int idx = 0; idx < INV_ITEMS_TOTAL; ++idx) { _itemsDrawList[idx]._x = 8; _itemsDrawList[idx]._y = 18 + idx * 9; |