From db88c544b75daa213130092da1b4ef2d0f61ff22 Mon Sep 17 00:00:00 2001 From: Nicola Mettifogo Date: Sun, 7 Dec 2008 12:41:50 +0000 Subject: Fixed assorted leaks in Parallaction. svn-id: r35270 --- engines/parallaction/inventory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/parallaction/inventory.cpp') diff --git a/engines/parallaction/inventory.cpp b/engines/parallaction/inventory.cpp index 7b92974205..51eed6a90b 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->getCursorPos(p); + _vm->_input->getAbsoluteCursorPos(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)); -- cgit v1.2.3