aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/inventory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/parallaction/inventory.cpp')
-rw-r--r--engines/parallaction/inventory.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/engines/parallaction/inventory.cpp b/engines/parallaction/inventory.cpp
index e0b5d38fc9..06d48744be 100644
--- a/engines/parallaction/inventory.cpp
+++ b/engines/parallaction/inventory.cpp
@@ -243,12 +243,7 @@ void Parallaction_ns::jobShowInventory(void *parm, Job *j) {
r.moveTo(_invPosition);
- _vm->_gfx->copyRect(
- Gfx::kBitBack,
- r,
- _buffer,
- INVENTORY_WIDTH
- );
+ _gfx->copyRect(Gfx::kBitBack, r, _buffer, INVENTORY_WIDTH);
return;
}
@@ -272,7 +267,7 @@ void Parallaction_ns::jobHideInventory(void *parm, Job *j) {
Common::Rect r(INVENTORY_WIDTH, _numInvLines * INVENTORYITEM_HEIGHT);
r.moveTo(_invPosition);
- _vm->_gfx->restoreBackground(r);
+ _gfx->restoreBackground(r);
return;
}