From 3cefe699949e00e9faf4e7d2a8af65daafc2f125 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Tue, 27 Dec 2011 08:20:55 +0100 Subject: MORTEVIELLE: Enlarge two arrays in order to fix pascal access --- engines/mortevielle/ques.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines') diff --git a/engines/mortevielle/ques.cpp b/engines/mortevielle/ques.cpp index 8ea4e4c49c..9a1280c769 100644 --- a/engines/mortevielle/ques.cpp +++ b/engines/mortevielle/ques.cpp @@ -31,8 +31,8 @@ namespace Mortevielle { /* overlay */ bool ques() { - const int ta[10] = {511, 516, 524, 531, 545, 552, 559, 563, 570, 576}; - const int ok[10] = {4, 7, 1, 6, 4, 4, 2, 5, 3, 1 }; + const int ta[11] = {0, 511, 516, 524, 531, 545, 552, 559, 563, 570, 576}; + const int ok[11] = {0, 4, 7, 1, 6, 4, 4, 2, 5, 3, 1 }; bool q, func, test; int i, j, k, y, memk; -- cgit v1.2.3