From 9957819311af589fd24958c66147b32e03b26c47 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 2 Jan 2012 12:37:23 +1100 Subject: MORTEVIELLE: Bugfix for loading data in init_lieu method --- engines/mortevielle/ovd1.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines') 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(); } -- cgit v1.2.3