[Scummvm-cvs-logs] SF.net SVN: scummvm:[35325] scummvm/trunk/engines/parallaction/inventory. cpp
peres001 at users.sourceforge.net
peres001 at users.sourceforge.net
Sat Dec 13 04:36:29 CET 2008
Revision: 35325
http://scummvm.svn.sourceforge.net/scummvm/?rev=35325&view=rev
Author: peres001
Date: 2008-12-13 03:36:28 +0000 (Sat, 13 Dec 2008)
Log Message:
-----------
Fixed positioning of inventory.
Modified Paths:
--------------
scummvm/trunk/engines/parallaction/inventory.cpp
Modified: scummvm/trunk/engines/parallaction/inventory.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/inventory.cpp 2008-12-13 03:16:20 UTC (rev 35324)
+++ scummvm/trunk/engines/parallaction/inventory.cpp 2008-12-13 03:36:28 UTC (rev 35325)
@@ -180,7 +180,7 @@
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));
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list