Skip to content

Commit

Permalink
TSAGE: R2R - Remove an unused variable in maze UI
Browse files Browse the repository at this point in the history
  • Loading branch information
Strangerke committed Nov 24, 2013
1 parent 17fa43e commit 250d15c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 4 additions & 2 deletions engines/tsage/ringworld2/ringworld2_logic.cpp
Expand Up @@ -1502,7 +1502,7 @@ MazeUI::MazeUI() {
_cellSize.x = _cellSize.y = 0;
_mapOffset.x = _mapOffset.y = 0;
_resNum = _cellsResNum = 0;
_frameCount = _resCount = _mapImagePitch = _unused = 0;
_frameCount = _resCount = _mapImagePitch = 0;
}

MazeUI::~MazeUI() {
Expand All @@ -1518,7 +1518,9 @@ void MazeUI::synchronize(Serializer &s) {

s.syncAsSint16LE(_mapOffset.x);
s.syncAsSint16LE(_mapOffset.y);
s.syncAsSint16LE(_unused);

int dummy = 0;
s.syncAsSint16LE(dummy);
}

void MazeUI::load(int resNum) {
Expand Down
1 change: 0 additions & 1 deletion engines/tsage/ringworld2/ringworld2_logic.h
Expand Up @@ -307,7 +307,6 @@ class MazeUI: public SceneObject {
int _frameCount;
int _resCount;
int _mapImagePitch;
int _unused;
public:
MazeUI();
virtual ~MazeUI();
Expand Down

0 comments on commit 250d15c

Please sign in to comment.