diff options
Diffstat (limited to 'saga/interface.cpp')
-rw-r--r-- | saga/interface.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/saga/interface.cpp b/saga/interface.cpp index ae35f36877..f3618b00c8 100644 --- a/saga/interface.cpp +++ b/saga/interface.cpp @@ -1689,6 +1689,7 @@ int Interface::inventoryItemPosition(int objectId) { void Interface::drawInventory(Surface *backBuffer) { if (!isInMainMode()) return; + int i; Rect rect; int ci; @@ -1712,7 +1713,7 @@ void Interface::drawInventory(Surface *backBuffer) { if (ci < _inventoryCount) { obj = _vm->_actor->getObj(_inventory[ci]); - _vm->_sprite->draw(backBuffer, _vm->getDisplayClip(), _vm->_sprite->_mainSprites, obj->_spriteListResourceId, rect, 256); + _vm->_sprite->draw(backBuffer, _vm->getDisplayClip(), _vm->_sprite->_inventorySprites, obj->_spriteListResourceId, rect, 256); } ci++; |