aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/inventory.cpp
diff options
context:
space:
mode:
authorNicola Mettifogo2008-12-13 03:36:28 +0000
committerNicola Mettifogo2008-12-13 03:36:28 +0000
commit6724097f674c100c20a42a030bb597aa080ad339 (patch)
tree307c62f873ffb8096fc3ba7ecb1e5b1722b6f17a /engines/parallaction/inventory.cpp
parent1e31438c576d3828aa27a64c71de846bd6c6d886 (diff)
downloadscummvm-rg350-6724097f674c100c20a42a030bb597aa080ad339.tar.gz
scummvm-rg350-6724097f674c100c20a42a030bb597aa080ad339.tar.bz2
scummvm-rg350-6724097f674c100c20a42a030bb597aa080ad339.zip
Fixed positioning of inventory.
svn-id: r35325
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 51eed6a90b..7b92974205 100644
--- a/engines/parallaction/inventory.cpp
+++ b/engines/parallaction/inventory.cpp
@@ -180,7 +180,7 @@ void InventoryRenderer::showInventory() {
uint16 lines = getNumLines();
Common::Point p;
- _vm->_input->getAbsoluteCursorPos(p);
+ _vm->_input->getCursorPos(p);
_pos.x = CLIP((int)(p.x - (_props->_width / 2)), 0, (int)(_vm->_screenWidth - _props->_width));
_pos.y = CLIP((int)(p.y - 2 - (lines * _props->_itemHeight)), 0, (int)(_vm->_screenHeight - lines * _props->_itemHeight));