[Scummvm-cvs-logs] SF.net SVN: scummvm:[42685] scummvm/trunk/engines/scumm/string.cpp
Kirben at users.sourceforge.net
Kirben at users.sourceforge.net
Fri Jul 24 07:20:44 CEST 2009
Revision: 42685
http://scummvm.svn.sourceforge.net/scummvm/?rev=42685&view=rev
Author: Kirben
Date: 2009-07-24 05:20:44 +0000 (Fri, 24 Jul 2009)
Log Message:
-----------
Fix cursor position, when entering a save game name in HE games.
Modified Paths:
--------------
scummvm/trunk/engines/scumm/string.cpp
Modified: scummvm/trunk/engines/scumm/string.cpp
===================================================================
--- scummvm/trunk/engines/scumm/string.cpp 2009-07-24 05:07:27 UTC (rev 42684)
+++ scummvm/trunk/engines/scumm/string.cpp 2009-07-24 05:20:44 UTC (rev 42685)
@@ -995,6 +995,11 @@
}
_string[a].xpos = _charset->_str.right;
+
+ if (_game.heversion >= 60) {
+ _string[a]._default.xpos = _string[a].xpos;
+ _string[a]._default.ypos = _string[a].ypos;
+ }
}
int ScummEngine::convertMessageToString(const byte *msg, byte *dst, int dstSize) {
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