aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTravis Howell2009-07-24 05:20:44 +0000
committerTravis Howell2009-07-24 05:20:44 +0000
commit3efecb3afcc5043703c4ab28bac5406f351a0794 (patch)
treeda92adf13a82823c0aefe68d10a55f6849647edf /engines
parent211869d02e69f48479357d0ea8c851f069ce9452 (diff)
downloadscummvm-rg350-3efecb3afcc5043703c4ab28bac5406f351a0794.tar.gz
scummvm-rg350-3efecb3afcc5043703c4ab28bac5406f351a0794.tar.bz2
scummvm-rg350-3efecb3afcc5043703c4ab28bac5406f351a0794.zip
Fix cursor position, when entering a save game name in HE games.
svn-id: r42685
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/string.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/scumm/string.cpp b/engines/scumm/string.cpp
index f00f4ff33b..e99bea87de 100644
--- a/engines/scumm/string.cpp
+++ b/engines/scumm/string.cpp
@@ -995,6 +995,11 @@ void ScummEngine::drawString(int a, const byte *msg) {
}
_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) {