aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorArnaud Boutonné2015-01-31 11:44:43 +0100
committerArnaud Boutonné2015-01-31 11:44:43 +0100
commitba330e32be08117915036286d8fcbaa21bcc0655 (patch)
treeb59f4d80e8a4ac2e9f25b7f03918ef26af461c39 /engines
parent71e95fa3400c5c228fcec6e43f88dc2fbdb0e0e5 (diff)
parentebc5c55ce3d22f6e353bce07d1d797176a641208 (diff)
downloadscummvm-rg350-ba330e32be08117915036286d8fcbaa21bcc0655.tar.gz
scummvm-rg350-ba330e32be08117915036286d8fcbaa21bcc0655.tar.bz2
scummvm-rg350-ba330e32be08117915036286d8fcbaa21bcc0655.zip
Merge pull request #579 from chrilith/mortevielle_textpos
MORTEVIELLE: fixed text position
Diffstat (limited to 'engines')
-rw-r--r--engines/mortevielle/utils.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/mortevielle/utils.cpp b/engines/mortevielle/utils.cpp
index 5fe47674c8..5137e1892b 100644
--- a/engines/mortevielle/utils.cpp
+++ b/engines/mortevielle/utils.cpp
@@ -707,11 +707,11 @@ void MortevielleEngine::displayAloneText() {
Common::String sAlone = getEngineString(S_ALONE);
clearUpperRightPart();
- _screenSurface->putxy(580 - (_screenSurface->getStringWidth(sYou) / 2), 30);
+ _screenSurface->putxy(560, 30);
_screenSurface->drawString(sYou, 4);
- _screenSurface->putxy(580 - (_screenSurface->getStringWidth(sAre) / 2), 50);
+ _screenSurface->putxy(560, 50);
_screenSurface->drawString(sAre, 4);
- _screenSurface->putxy(580 - (_screenSurface->getStringWidth(sAlone) / 2), 70);
+ _screenSurface->putxy(560, 70);
_screenSurface->drawString(sAlone, 4);
_currBitIndex = 0;
@@ -1695,7 +1695,7 @@ void MortevielleEngine::clearUpperRightPart() {
else if (_coreVar._faithScore > 65)
st = getEngineString(S_MALSAINE);
- int x1 = 580 - (_screenSurface->getStringWidth(st) / 2);
+ int x1 = 574 - (_screenSurface->getStringWidth(st) / 2);
_screenSurface->putxy(x1, 92);
_screenSurface->drawString(st, 4);