aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/inventory.cpp
diff options
context:
space:
mode:
authorNicola Mettifogo2008-12-21 15:42:47 +0000
committerNicola Mettifogo2008-12-21 15:42:47 +0000
commite11c17a005a1efb1be077ceb856c48446e11d95c (patch)
tree2272e2286e382d24640577eebf88a40cc9a06d44 /engines/parallaction/inventory.cpp
parent74b251d45d0ae9bafaa96f36e4e3dc2aebefa225 (diff)
downloadscummvm-rg350-e11c17a005a1efb1be077ceb856c48446e11d95c.tar.gz
scummvm-rg350-e11c17a005a1efb1be077ceb856c48446e11d95c.tar.bz2
scummvm-rg350-e11c17a005a1efb1be077ceb856c48446e11d95c.zip
Moved more GfxObj management to Gfx object.
svn-id: r35466
Diffstat (limited to 'engines/parallaction/inventory.cpp')
-rw-r--r--engines/parallaction/inventory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/inventory.cpp b/engines/parallaction/inventory.cpp
index 7b92974205..8d9daec0af 100644
--- a/engines/parallaction/inventory.cpp
+++ b/engines/parallaction/inventory.cpp
@@ -216,7 +216,7 @@ void InventoryRenderer::drawItem(ItemPosition pos, ItemName name) {
}
void InventoryRenderer::drawItem(ItemName name, byte *buffer, uint pitch) {
- byte* s = _vm->_char._objs->getData(name);
+ byte* s = _vm->_objects->getData(name);
byte* d = buffer;
for (uint i = 0; i < _props->_itemHeight; i++) {
memcpy(d, s, _props->_itemWidth);