[Scummvm-cvs-logs] SF.net SVN: scummvm:[55216] scummvm/trunk/engines/sci/engine/kgraphics.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Thu Jan 13 00:30:59 CET 2011
Revision: 55216
http://scummvm.svn.sourceforge.net/scummvm/?rev=55216&view=rev
Author: thebluegr
Date: 2011-01-12 23:30:59 +0000 (Wed, 12 Jan 2011)
Log Message:
-----------
SCI: Simplified the kMoveCursor code
Modified Paths:
--------------
scummvm/trunk/engines/sci/engine/kgraphics.cpp
Modified: scummvm/trunk/engines/sci/engine/kgraphics.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kgraphics.cpp 2011-01-12 19:11:27 UTC (rev 55215)
+++ scummvm/trunk/engines/sci/engine/kgraphics.cpp 2011-01-12 23:30:59 UTC (rev 55216)
@@ -209,12 +209,7 @@
}
reg_t kMoveCursor(EngineState *s, int argc, reg_t *argv) {
- Common::Point pos;
- if (argc == 2) {
- pos.y = argv[1].toSint16();
- pos.x = argv[0].toSint16();
- g_sci->_gfxCursor->kernelSetPos(pos);
- }
+ g_sci->_gfxCursor->kernelSetPos(Common::Point(argv[0].toSint16(), argv[1].toSint16()));
return s->r_acc;
}
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