aboutsummaryrefslogtreecommitdiff
path: root/engines/mortevielle
diff options
context:
space:
mode:
authorPaul Gilbert2012-01-03 20:54:25 +1100
committerStrangerke2012-04-06 08:19:24 +0200
commit2e95ac70b29ee420aebf532ae1b28e1803b91b0a (patch)
tree24bdfc9ba6d4a158a66a808f57a837bb38282b64 /engines/mortevielle
parentde974c908feded56b39ff514e34f15b57b862ef2 (diff)
downloadscummvm-rg350-2e95ac70b29ee420aebf532ae1b28e1803b91b0a.tar.gz
scummvm-rg350-2e95ac70b29ee420aebf532ae1b28e1803b91b0a.tar.bz2
scummvm-rg350-2e95ac70b29ee420aebf532ae1b28e1803b91b0a.zip
MORTEVIELLE: Fix character indexing in writeg()
Diffstat (limited to 'engines/mortevielle')
-rw-r--r--engines/mortevielle/sprint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mortevielle/sprint.cpp b/engines/mortevielle/sprint.cpp
index b35bff9dc1..e6a172b821 100644
--- a/engines/mortevielle/sprint.cpp
+++ b/engines/mortevielle/sprint.cpp
@@ -81,7 +81,7 @@ void writeg(Common::String l, int c)
xo = xo + 1;
yo = yo + 1;
for (x = 1; x <= (int)l.size(); x ++) {
- affcar(gd, xo, yo, cecr, ord(l[x]));
+ affcar(gd, xo, yo, cecr, ord(l[x - 1]));
xo = xo + i;
}
show_mouse();