diff options
Diffstat (limited to 'engines/tsage/dialogs.cpp')
-rw-r--r-- | engines/tsage/dialogs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/tsage/dialogs.cpp b/engines/tsage/dialogs.cpp index 2ab06b44e7..2766ad0450 100644 --- a/engines/tsage/dialogs.cpp +++ b/engines/tsage/dialogs.cpp @@ -383,7 +383,7 @@ void InventoryDialog::show(bool allFlag) { if (!allFlag) { // Determine how many items are in the player's inventory int itemCount = 0; - List<InvObject *>::iterator i; + SynchronisedList<InvObject *>::iterator i; for (i = _globals->_inventory._itemList.begin(); i != _globals->_inventory._itemList.end(); ++i) { if ((*i)->inInventory()) ++itemCount; @@ -405,7 +405,7 @@ InventoryDialog::InventoryDialog(bool allFlag) { // Determine the maximum size of the image of any item in the player's inventory int imgWidth = 0, imgHeight = 0; - List<InvObject *>::iterator i; + SynchronisedList<InvObject *>::iterator i; for (i = _globals->_inventory._itemList.begin(); i != _globals->_inventory._itemList.end(); ++i) { InvObject *invObject = *i; if (allFlag || invObject->inInventory()) { |