Fixed positioning of inventory.
svn-id: r35325
This commit is contained in:
parent
1e31438c57
commit
6724097f67
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue