From df7fa78a860a06d110bad38e559e85257a08c87e Mon Sep 17 00:00:00 2001 From: Strangerke Date: Wed, 17 Dec 2014 21:10:50 +0100 Subject: ACCESS: Fix three out of bounds --- engines/access/amazon/amazon_game.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines') diff --git a/engines/access/amazon/amazon_game.cpp b/engines/access/amazon/amazon_game.cpp index 4c57b585b9..66ccf3dcef 100644 --- a/engines/access/amazon/amazon_game.cpp +++ b/engines/access/amazon/amazon_game.cpp @@ -54,9 +54,9 @@ AmazonEngine::AmazonEngine(OSystem *syst, const AccessGameDescription *gameDesc) _hintLevel = 0; memset(_tileData, 0, sizeof(_tileData)); - Common::fill(&_help1[0], &_help1[366], 0); - Common::fill(&_help2[0], &_help2[366], 0); - Common::fill(&_help3[0], &_help3[366], 0); + Common::fill(&_help1[0], &_help1[365], 0); + Common::fill(&_help2[0], &_help2[365], 0); + Common::fill(&_help3[0], &_help3[365], 0); _helpTbl[0] = _help1; _helpTbl[1] = _help2; _helpTbl[2] = _help3; -- cgit v1.2.3