aboutsummaryrefslogtreecommitdiff
path: root/engines/mortevielle
diff options
context:
space:
mode:
authorPaul Gilbert2012-01-20 09:47:40 +1100
committerStrangerke2012-04-06 08:20:01 +0200
commit18e1193d700e13f262b8d05090140e557bb3ad21 (patch)
treeacddd8aa907a5c65e13ebdad16e129d1525258ee /engines/mortevielle
parent1bc0028ab970ee837d4adfe72d47f8e2d13bf37a (diff)
downloadscummvm-rg350-18e1193d700e13f262b8d05090140e557bb3ad21.tar.gz
scummvm-rg350-18e1193d700e13f262b8d05090140e557bb3ad21.tar.bz2
scummvm-rg350-18e1193d700e13f262b8d05090140e557bb3ad21.zip
MORTEVIELLE: Fix seeking in chardes and charani
Diffstat (limited to 'engines/mortevielle')
-rw-r--r--engines/mortevielle/taffich.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mortevielle/taffich.cpp b/engines/mortevielle/taffich.cpp
index 78eccbbaf1..77733b8829 100644
--- a/engines/mortevielle/taffich.cpp
+++ b/engines/mortevielle/taffich.cpp
@@ -51,7 +51,7 @@ void chardes(Common::String nom, float passe, int long_) {
passe = passe - 128;
}
if (p != 0)
- f.seek(p);
+ f.seek(p * 0x80);
p = abs((int)passe);
l = long_ + p;
i = 0;
@@ -84,7 +84,7 @@ void charani(Common::String nom, float passe, int long_) {
p = p + 1;
}
if (p != 0)
- f.seek(p);
+ f.seek(p * 0x80);
p = abs((int)passe);
l = long_ + p;