diff options
author | Strangerke | 2014-12-17 21:10:50 +0100 |
---|---|---|
committer | Strangerke | 2014-12-17 21:10:50 +0100 |
commit | df7fa78a860a06d110bad38e559e85257a08c87e (patch) | |
tree | 8bf4c08cc2151d0df539823a3074cc63243d5d63 | |
parent | 67a40fd9b0be371fcc80f01d5cda73e7272027d0 (diff) | |
download | scummvm-rg350-df7fa78a860a06d110bad38e559e85257a08c87e.tar.gz scummvm-rg350-df7fa78a860a06d110bad38e559e85257a08c87e.tar.bz2 scummvm-rg350-df7fa78a860a06d110bad38e559e85257a08c87e.zip |
ACCESS: Fix three out of bounds
-rw-r--r-- | engines/access/amazon/amazon_game.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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; |