aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2012-01-02 12:37:23 +1100
committerStrangerke2012-04-06 08:19:20 +0200
commit9957819311af589fd24958c66147b32e03b26c47 (patch)
treef03852b5466da10157037969c1122bf71e405cb2 /engines
parent3e0b4d3774c282ee2e31a3abb2b5d614da0ca311 (diff)
downloadscummvm-rg350-9957819311af589fd24958c66147b32e03b26c47.tar.gz
scummvm-rg350-9957819311af589fd24958c66147b32e03b26c47.tar.bz2
scummvm-rg350-9957819311af589fd24958c66147b32e03b26c47.zip
MORTEVIELLE: Bugfix for loading data in init_lieu method
Diffstat (limited to 'engines')
-rw-r--r--engines/mortevielle/ovd1.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/mortevielle/ovd1.cpp b/engines/mortevielle/ovd1.cpp
index 6400463a18..eb0bd8b20b 100644
--- a/engines/mortevielle/ovd1.cpp
+++ b/engines/mortevielle/ovd1.cpp
@@ -300,7 +300,8 @@ void ani50() {
error("Missing file - MXX.mor");
for (int i = 1; i < 8; ++i)
- f_lieu.read(&v_lieu[i][1], 24);
+ for (int j = 0; j < 25; ++j)
+ v_lieu[i][j] = f_lieu.readByte();
f_lieu.close();
}