aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/mortevielle/ovd1.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/mortevielle/ovd1.cpp b/engines/mortevielle/ovd1.cpp
index 751a0993f8..6d17fccf5a 100644
--- a/engines/mortevielle/ovd1.cpp
+++ b/engines/mortevielle/ovd1.cpp
@@ -373,7 +373,9 @@ void ani50() {
if (!f.open("cfiph.mor"))
error("Missing file - cfiph.mor");
- f.read(t_cph, 50);
+ for (int i = 0; i < (f.size() / 2); ++i)
+ t_cph[i] = f.readSint16LE();
+
f.close();
}