Skip to content
Permalink
Browse files

ACCESS: Move variable from Room manager to local function

  • Loading branch information
Strangerke committed Dec 22, 2014
1 parent fc9595e commit d1bc69426eac2458b46ab7fede31c6dd71314ccb
Showing with 3 additions and 4 deletions.
  1. +3 −3 engines/access/room.cpp
  2. +0 −1 engines/access/room.h
@@ -370,9 +370,9 @@ void Room::loadPlayField(int fileNum, int subfile) {
screen.loadRawPalette(playData->_stream);

// Copy off the tile data
_tileSize = (int)header[2] << 8;
_tile = new byte[_tileSize];
playData->_stream->read(_tile, _tileSize);
int tileSize = (int)header[2] << 8;
_tile = new byte[tileSize];
playData->_stream->read(_tile, tileSize);

// Copy off the playfield data
_matrixSize = header[0] * header[1];
@@ -124,7 +124,6 @@ class Room : public Manager {
int _playFieldWidth;
int _playFieldHeight;
byte *_tile;
int _tileSize;
int _selectCommand;
bool _conFlag;
public:

0 comments on commit d1bc694

Please sign in to comment.
You can’t perform that action at this time.