Skip to content

Commit

Permalink
ACCESS: Fix _help3 initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
Strangerke authored and dreammaster committed Dec 13, 2014
1 parent cdc2777 commit 80dfc35
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions engines/access/amazon/amazon_game.cpp
Expand Up @@ -47,14 +47,13 @@ AccessEngine(syst, gameDesc),
_rawInactiveX = 0;
_rawInactiveY = 0;
_inactiveYOff = 0;
_tilePos = Common::Point(0, 0);
_hintLevel = 0;

Common::fill(&_esTabTable[0], &_esTabTable[100], 0);
memset(_tileData, 0, sizeof(_tileData));
Common::fill(&_help1[0], &_help1[366], 0);
Common::fill(&_help2[0], &_help2[366], 0);
Common::fill(&_help1[0], &_help3[366], 0);
Common::fill(&_help3[0], &_help3[366], 0);
_helpTbl[0] = _help1;
_helpTbl[1] = _help2;
_helpTbl[2] = _help3;
Expand Down Expand Up @@ -276,8 +275,9 @@ void AmazonEngine::tileScreen() {
_tileData[i] = res->_stream->readByte();

// CHECKME: Depending on the Vesa mode during initialization, 400 or 480
for (_tilePos.y = 0; _tilePos.y < 480; _tilePos.y += y) {
for (_tilePos.x = 0; _tilePos.x < 640; _tilePos.x += x)
Common::Point tilePos;
for (tilePos.y = 0; tilePos.y < 480; tilePos.y += y) {
for (tilePos.x = 0; tilePos.x < 640; tilePos.x += x)
warning("TODO: DRAWOBJECT");
}

Expand Down
1 change: 0 additions & 1 deletion engines/access/amazon/amazon_game.h
Expand Up @@ -34,7 +34,6 @@ class AmazonEngine;

class AmazonEngine : public AccessEngine {
private:
Common::Point _tilePos;
byte _tileData[1455];
Common::Array<CellIdent> _chapterCells;

Expand Down

0 comments on commit 80dfc35

Please sign in to comment.